Different templates style for different pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • #5345
    eletomm
    Participant

    Hi. I wonder what do I have to set to display some pages without the header images ? I only found the availability to set different kind of templates for each page to be selected from the list Template standard-full width-content/sidebar-no sidebars- etc…but how can I set no header images in some page? Thanks

    #5375
    Daniel Tara
    Keymaster

    Each page has a unique class assigned to the body tag. You can use that class to customize individual pages. e.g.:

    .page-id-89 #header-image {
    	display:none;
    }
    #5418
    eletomm
    Participant

    Thank you for your answer. Sorry for my stupid question…I am totally a newbie in wordpress…. can you please tell me where exactly do I have to put this code? in function.php? theme-option.php? or where else? thank you so much!!!!!

    #5466
    Daniel Tara
    Keymaster

    In style.css

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.