Home › Forums › Calendar Products › Events Calendar PRO › Unable to hide site header on Events page
- This topic has 6 replies, 2 voices, and was last updated 11 years, 5 months ago by
Brian.
-
AuthorPosts
-
November 28, 2014 at 3:11 pm #901418
brianhayesmusic
ParticipantI have a Word Press site and when I go to edit the Events page (I actually changed the name of the page to “Calendar”) and select “Hide site header for this page,” the setting does not take affect. I only want the site header to show up on the Home page of my site. Have any of you heard of this before? Is there something obvious that I’m doing wrong?
http://www.classicalguitarorlando.com/calendar/2014-12/
Thanks you in advance for any helpNovember 29, 2014 at 2:40 pm #902254brianhayesmusic
ParticipantAlso, I might have been wrong to say that I’d changed the name of the page from “Events” to “Calendar.” One of the tutorials had indicated that the URL slug would be: “…../events” unless the user changes it which led me to this assumption but now I’m thinking that this is a change that Modern Tribe must have made. (Not that this matters a whole lot.)
Realizing that it’s Thanksgiving vacation, I’ll be looking forward to a response sometime on Monday. Thank you!
November 29, 2014 at 4:11 pm #902374Brian
MemberHi,
Thanks for using out plugins I can try to help out here, but we are unable to troubleshoot theme compatibility issues for the most part.
I do not think you are doing anything wrong, it just sounds like the theme does not detect the events pages and so is placing the header there.
Not sure how that function works in your theme, but you could try hiding it with css. All the events pages have a body class of
events-archive
or
events-single
I maybe able to help out a little on this if you have any follow up questions.
Thanks
November 30, 2014 at 8:14 am #902817brianhayesmusic
ParticipantThanks Brian, I will try and get help through the theme support and check back here if I need any additional assistance.
November 30, 2014 at 1:21 pm #903034Brian
MemberOk Sounds Good. Let us know what you find out and we can go from there.
Thanks
December 1, 2014 at 8:53 am #903962brianhayesmusic
ParticipantOK Brian, I got it. A brilliant guy named Drake at my theme’s forum gave me the answer. I’m posting, in case you guys find his answer interesting or useful in any way:
ANSWER:
“Your plugin add it’s own classes which overwrite the classes of theme, that’s the reason for not having effect Additional Options for Suffusion. These pages are autogenerated pages which follow only the settings for Default Sidebar Layout.Also, by CSS you can format only elements or child of these elements, not ancestor or siblings of them. This is the reason for not having effect the Colin’s code. It try to format #header element which is not related to .post-0, only they are both elements on the same page, at the same level – siblings.
I.e. you cannot say “format the header of this page just because it contain somewhere a post-0 element”. Instead, follow the advice of your plugin author and use .events-archive and .events-single which are classes of <body> element for which both #header and .post-0 are child elements. So, the job is done by replacing Colin’s code with:
CODE:
.events-archive #header {display:none;}
.events-single #header {display:none;} /* use this line only if you want to hide the header on single event pages */”DIRECT LINK TO THREAD:
http://aquoid.com/forum/viewtopic.php?f=4&t=31267&p=78898#p78898Thank you for your help as well. I’ve just about got my calendar exactly the way I want it.
December 1, 2014 at 6:26 pm #904629Brian
MemberGreat, glad you were able to get it resolved and thanks for providing the coding. I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.
Thanks!
-
AuthorPosts
- The topic ‘Unable to hide site header on Events page’ is closed to new replies.
