-
Author
-
August 30, 2016 at 14:35 #134272
gurudates
ParticipantHello!
I have tried everything! My website is almost done but I want to remove the main menu from the (HOMEPAGE ONLY) so that users register with me before access my sites content. The theme i am using is SweetDate. I have installed the child template so that i can add updates to my css. but every piece of code i have tried has not worked so far im not sure if there are custom codes based upon different themes or if there is an easier way to do this. I am also working in wordpress. Please if anyone can help me solve this issue!
August 31, 2016 at 03:12 #134376Laura
ModeratorHello 🙂 here it is, just add it to style.css of child theme
COPY CODE.home-page ul#menu-guru-dates { display: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
August 31, 2016 at 13:49 #134430gurudates
ParticipantHello! Thank you! Okay i pasted the code into my childtheme style.css all was working fine but now i just went to login into my wordpress admin to edit other areas of the my site and it comes up with this message: Warning: Cannot modify header information – headers already sent by (output started at /home/content/n3pnexwpnas01_data03/15/3540815/html/wp-content/themes/sweetdate-child/functions.php:17) in /home/content/n3pnexwpnas01_data03/15/3540815/html/wp-includes/pluggable.php on line 1174
I have attached a image of this also so you can see. Im not sure how i can resolve this issue?
Attachments:
You must be logged in to view attached files.September 2, 2016 at 03:03 #134660Laura
ModeratorHello, did you add anything to functions.php file?
The code i sent was for style.css not functions.phpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
November 30, 2016 at 15:24 #145667j_jankowsky
ParticipantHello, I am also trying to remove the menu from Home page only. However, when I add the suggested code to the style.css file of my Sweetdate child theme, and update it, it states that the update was successful but it does not make any changes to the site’s homepage. The site also has Sweetdate child theme activated. Any ideas why this happens?
December 2, 2016 at 08:48 #145885Laura
ModeratorHello, its because your menu name is different, can you share a link?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
You must be logged in to reply to this topic.