WordPress.org

Ready to get started?Download WordPress

Forums

Drop-up menu on specific page (8 posts)

  1. JoeBauer777
    Member
    Posted 1 year ago #

    Hey guys,

    I have a site (MisterMissus.com) and I'm trying to make my drop-down menu 'drop-up', only on the home/landing page. I understand that there will need to be some edits to the CSS, but I don't know how to make the changes page-specific. Please help!

    Thanks,
    Joe

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    What theme are you using? Where did you download it from?

  3. JoeBauer777
    Member
    Posted 1 year ago #

    I'm using ProPhoto.

  4. Maya Taifoor
    Member
    Posted 1 year ago #

    o man there is nothing to change in css and also no need to tell which theme you are using you have to just write a simple core function in header.php of you theme <?php if(is_home() || is_front_page() ){?> with else statment and close it <?php }?>...cheers kindly inform me with your response i am waiting

    MAYA Taifoor

  5. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 year ago #

    Remember you should never edit the theme's files directly. You can develop in a Child Theme environment to avoid this.

  6. JoeBauer777
    Member
    Posted 1 year ago #

    Thanks for the quick response.

    The if-else makes sense, but what code do I need to make my nav menu go up instead of drop-down?

    Joe

  7. Maya Taifoor
    Member
    Posted 1 year ago #

    where the drop down code is written in header.php in put this code it

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I'm sorry but as you are using a commercial theme, you need to seek support from the theme's developer/vendor. We do not support commercial themes here.

Topic Closed

This topic has been closed to new replies.

About this Topic