JoeBauer777
Member
Posted 3 months 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
What theme are you using? Where did you download it from?
JoeBauer777
Member
Posted 3 months ago #
Maya Taifoor
Member
Posted 3 months 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
Remember you should never edit the theme's files directly. You can develop in a Child Theme environment to avoid this.
JoeBauer777
Member
Posted 3 months 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
Maya Taifoor
Member
Posted 3 months ago #
where the drop down code is written in header.php in put this code it
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.