Change color of some text in menu

Viewing 8 posts - 1 through 8 (of 8 total)
  • #7021
    larosaroja
    Participant

    Hi!
    I’m trying to change the color of two words in the menu.
    This is the blog: http://www.larosaroja.net/wordpress/?lang=en
    I want to use red for “what?” and “who?” and leave the rest in black.
    How can I do it?
    Thank you very much! πŸ™‚

    #15053
    e061070
    Participant

    Hello, explain to me how you did it, I am very interested, thank you.
    e.

    #15286
    e061070
    Participant

    Anyone give me some help?
    πŸ™
    e.

    #15326
    Daniel Tara
    Keymaster

    Each menu item has a unique id like menu-item-237. You can use it to assign custom css to it like this:

    #menu-item-237 {
    	color: #f00;
    }
    #15340
    e061070
    Participant

    Thank you for your valuable suggestion, unfortunately I am new to php I just have to figure out where to call the function to customize one voice menu. Thank you again!
    πŸ™‚
    (sorry my terrible english)

    #15350
    Daniel Tara
    Keymaster

    You don’t need to edit any php. You need to add custom styles in Appearance > Theme Options > Design.

    #15354
    e061070
    Participant

    Ciao, I followed what you told me, I added to the css
    #menu-item-237 {
    color: #000000;
    }
    and then in the menu, I added the optional css class menu-item-237 but does not work

    e.

    #15357
    e061070
    Participant

    Thanks, solved, I used “.” and not “#” and it works.

    .menu-item-237 a:link, .menu-item-237 a:active, .menu-item-237 a:visited, .menu-item-237 a:hover{
    color:black;
    }

    thanks again
    e.

    πŸ™‚

Viewing 8 posts - 1 through 8 (of 8 total)

Tagged: ,

You must be logged in to reply to this topic.