Support » Fixing WordPress » Custom CSS for Parent Menu Item

  • I have purchased and am using a custom theme from Photocrati (who don’t offer support).
    I have set up my menu with two parent items as custom links (that don’t actually link to anything) so it just allows the user to see the sub-menu items or child menu items.

    The theme offers many customisation options including “menu link color” however once the menu item is no longer a link – but just a plain parent menu item the command for the parent menu items seems to default to the paragraph text. This means the menu items disappear as they become black and the menu background is black.

    I have tried adding the following CSS to the editor to make the unlinked menu items the same as the others – but it hasn’t done anything.

    #top_navigation {
    text-transform: uppercase;
    color: white;
    font-family: “Josefin Slab”, sans-serif;
    font-weight: bold;
    font-size: 14px;
    }

    Would love any ideas on how I could customise the non-linked parent menu items so as they are the same as the other menu items.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Can you provide a link to your problem? If it is no longer adding styles to the link then it sounds like it is no longer a link. Do your parent menu items have a hash in the url “#” which would make it a link but not link to anything?

    If you provide a link to your site where the problem is Im sure I can help you.

    Thread Starter kellyryancreative

    (@kellyryancreative)

    Thanks DesignLoud – I didn’t know about the hashtag – that fixed it a treat.

    Really appreciate you replying (it was a much simpler fix than adding CSS!)

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom CSS for Parent Menu Item’ is closed to new replies.