Change one menu item color - by smariano

This topic has 13 replies, 4 voices, and was last updated 8 years, 1 months ago ago by Robert Hall

  • Avatar: smariano
    smariano
    Participant
    March 18, 2016 at 23:58

    I would like to change the color of one item on the main menu bar and leave the others the same. Please advise on how to do this

    12 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 19, 2016 at 08:29

    Hello,

    Please clarify which exactly menu item you want to change?

    Regards,
    Robert Hall

    Avatar: stan
    Stan Russell
    Participant
    March 19, 2016 at 08:42

    Hello smariano,

    here is css code for your menu items:

    #mega-menu-item-143 a{color:red}
    #mega-menu-item-141 a{color:green}
    #mega-menu-item-206 a{color:yellow}
    #mega-menu-item-45 a{color:blue}
    #mega-menu-item-242 a{color:orange}
    #mega-menu-item-267 a{color:pink}

    Please add needed lines to your custom.css file. You may set any color name you want.

    Regards,
    Stan Russell.

    Avatar: smariano
    smariano
    Participant
    March 19, 2016 at 12:54

    As a test, I put the css code you sent in the custom css file and nothing changed.

    What are the numbers in the custom css code you sent referring to ? eg. #mega-menu-item-143 a{color:red}. Where does 143 come from ?

    I would like to change the top menu item call “MAKE A DONATION ” to gold.

    Avatar: stan
    Stan Russell
    Participant
    March 19, 2016 at 13:15

    Hello,

    “143” or other numbers are mega-menu items numbers.
    we have added following code ot your Global custom css:
    .mega-menu-item-388 > a{color:gold!important}
    Please check your site.

    Regards,
    Stan Russell.

    Avatar: smariano
    smariano
    Participant
    March 19, 2016 at 14:13

    I am now getting an error message when ever I try to open a page

    The error message is ” in valid arguement supplied for foreach() in /homepages/32/d609734839/htdocs/clickandbuilds/RussianOrthodoxBookstore2013/wp-content/plugins/page-specific-menu-items/page-specific-menu-items.php on …….”

    If I deactivate the plug in Page Specific Menu Items, the error message goes away but I cannot edit a page

    Please help

    Avatar: smariano
    smariano
    Participant
    March 19, 2016 at 14:45

    Update : If I activate the plug in Page Specific Menu Item

    – then selct some pages in the settings of the Page Specific Menu Item plugin, there is no error message but I still cannot edit a page

    Avatar: smariano
    smariano
    Participant
    March 19, 2016 at 14:58

    New update: If I disable the WPML string translation plug, I can edit the pages, so the problem seems to be with that plug in

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 21, 2016 at 08:54

    Hello,

    Please provide us with FTP credentials.

    Thank you.

    Best regards,
    Jack Richardson.

    Avatar: smariano
    smariano
    Participant
    March 21, 2016 at 12:10

    I managed to get the error message to go away

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 21, 2016 at 12:15

    Hello,

    So, is your issue resolved?

    Best regards,
    Jack Richardson.

    Avatar: smariano
    smariano
    Participant
    March 21, 2016 at 14:27

    this particular issue is now resolved

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 21, 2016 at 14:30

    Hello,

    We’re glad to hear it.
    If you have any questions feel free to contact us.

    Regards,
    Robert Hall

  • Viewing 13 results - 1 through 13 (of 13 total)

The issue related to '‘change one menu item color’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.