This topic has 12 replies, 3 voices, and was last updated 7 years by Laura.

  • Author
  • #218432
     kjcarleo
    Participant

    Hey Guys would it possible for me to change the color of ONLY the “LOGIN” main menu button?

     

    Kevin

    #218435
     kjcarleo
    Participant

    And by color I mean the BG color….right now it is clear (transparent)

    #218446
     Laura
    Moderator

    Hello, you can do it with this css, add it to style.css of child theme

    COPY CODE
    
    li#menu-item-12015 {
        background: black !important;
        border-radius: 20px;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #218455
     kjcarleo
    Participant

    That worked but how can I get no curved corners?

    KJ

    #218474
     kjcarleo
    Participant

    Basically I want it to be a rectangle BG

    KJ

    #218553
     Kieran_SQ
    Moderator

    Hi,

    You can replace the CSS from above with the CSS below

    COPY CODE
    li#menu-item-12015 {
        background: blue!important;
        border-radius: 0;
        margin-left: 10px;
    }

    This will remove the border-radius and adds a 10px margin to the left so it sits better on the page. If you do not wish to use the margin then simply remove that line.

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #218554
     kjcarleo
    Participant

    That worked PERFECT! How about the Log OUT?

    Kevin

    #218562
     Kieran_SQ
    Moderator

    Hey Kevin,

    I’d need to be logged in to see that menu item and grab it’s ID. If you update this ticket, in a private reply, with login credentials for your site I will be happy to send you the further CSS.

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #218563
     kjcarleo
    Participant

    Uh OH something happened to the home page (for some reason onyl HOME) https://embassymarine.org/.

    I removed the code for the LOGIN button, but the error still persists.

    Please take a look for me:

    Username: SeventhQueen
    PW:$ev3nthQu33n2019!

    #218564
     Kieran_SQ
    Moderator

    Hi,

    What’s happened to the home page?

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #218578
     kjcarleo
    Participant

    The issue seems to have self-resolved. I will try adding the code again and see what happens.

    #218579
     kjcarleo
    Participant

    Ok it is added back and seems fine.

    Your login is ready as well for the LOG OUT BUTTON CSS

    Username: SeventhQueen
    PW:$ev3nthQu33n2019!

    #218606
     Laura
    Moderator

    Hello 🙂
    Here it is

    COPY CODE
    
    li#menu-item-11950 {
        background: blue!important;
        border-radius: 0;
        margin-left: 10px;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 13 posts - 1 through 13 (of 13 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?