Unable to hide site header on Events page

Home Forums Calendar Products Events Calendar PRO Unable to hide site header on Events page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #901418
    brianhayesmusic
    Participant

    I 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 help

    #902254
    brianhayesmusic
    Participant

    Also, 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!

    #902374
    Brian
    Member

    Hi,

    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

    #902817
    brianhayesmusic
    Participant

    Thanks Brian, I will try and get help through the theme support and check back here if I need any additional assistance.

    #903034
    Brian
    Member

    Ok Sounds Good. Let us know what you find out and we can go from there.

    Thanks

    #903962
    brianhayesmusic
    Participant

    OK 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#p78898

    Thank you for your help as well. I’ve just about got my calendar exactly the way I want it.

    #904629
    Brian
    Member

    Great, 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!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Unable to hide site header on Events page’ is closed to new replies.