[Resolved] new.darmowaenergia.com.pl – CSS for a extra menu button

Home Forums Support new.darmowaenergia.com.pl – CSS for a extra menu button

  • This topic has 6 replies, 2 voices, and was last updated 1 month ago by David.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1418384
    Robert

    Hi

    how are You?

    I addes a yellow button into the menu on:
    new.darmowaenergia.com.pl/

    How could I change the TXT on it from white to: 181F2A ?

    I used this CSS code:

    .main-navigation:not(.slideout-navigation) .main-nav li.studio-button a {
    background-color: rgba(253,230,38,1.0);
    color: #000000;
    border: 0;
    line-height: 40px;
    padding: 0px 20px;
    border-radius: 2px;
    margin-left: 20px;
    margin-top: 32px;
    transition: all 0.5s ease 0s;
    }

    .main-navigation:not(.slideout-navigation) .main-nav li.studio-button a:hover {
    background-color: rgba(52,28,8,0.9);
    color: #181F2A;
    transition: all 0.5s ease 0s;
    background-color: rgba(250,250,280,1.0);
    }

    Thx
    Robert

    #1418476
    David
    Staff
    Customer Support

    Hi there,

    you will need to set you color properties with !important

    e.g in your first CSS rule:

    color:#000000 !important;

    And in your hover CSS rule:

    color: #181F2A !important;

    #1418505
    Robert

    Ok – thx!

    Robert

    #1418510
    Robert

    stupid thing:

    If Im logen in my WP dashbord I see the txt button in the menu “WYSLIJ ZAPYTANIE” dark on the yelow background but if I log auot from WP: the “WYSLIJ ZAPYTANIE” is still white

    Do You have any Ideas?

    Thx
    Robert

    #1418534
    David
    Staff
    Customer Support

    Try clearing your browser cache.

    #1418576
    Robert

    sorry – You right!

    Thx
    Robert

    #1418582
    David
    Staff
    Customer Support
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.