WordPress.org

Ready to get started?Download WordPress

Forums

CSS and Header.php confusion (4 posts)

  1. dff
    Member
    Posted 3 years ago #

    Hi,

    I've copied some new CSS-rules to my style.css in WordPress. I am using a downloaded theme called blocksys.
    These CSS-rules are for making some of the links in my navigation-menu, dropdown.
    I cannot specify in the "pages" category (WP-Controlpanel), that the new page I am making is going to be dropdown.

    So the question is:
    Can I make the whole menu in the header.php like I can do in a HTML index file?

    Is this the wrong way to do it? PHP is new to me, so I have no idea.

  2. Chelsea Otakan
    Member
    Posted 3 years ago #

    if you make child pages, they will appear in the dropdown menu below the parent page.

    The better way to do this would be to modify or create a child theme that adds Navigation Menus

  3. dff
    Member
    Posted 3 years ago #

    It seems like my theme doesn't support these menus. Even after writing the functions from the link you just posted.

  4. Chelsea Otakan
    Member
    Posted 3 years ago #

    Looking at the theme demo, I'd try to find a better coded theme. Usually, Proper dropdown menus have a combination of JS and CSS. Navigation Menus just allow menus to be more easily editable in the admin.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.