Announcement

Collapse
No announcement yet.

Different background Image in Header

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Different background Image in Header

    Is there a way of displaying a different image in the header of each page, where typically we would find the logo?

    I have tried creating an animated GIF, but of course it starts from the beginning when each new page is loaded.

    Am thinking that I could maybe create a conditional statement, where the image loaded can be linked to the page name, or something similar? Is this a way to go about it or is it simply not possible?

    Many thanks in advance

    Yours

    Russ

    #2
    Hi Russell,

    displaying a different header is possible in various ways.

    1. you can create duplicate copies of the Act_Primary template each with the desired logo hard coded in to the template. You can then specify each specific template against each section... eg: Act_Primary_Section_1 , Act_Primary_Section_2 etc etc.

    This is a pain as if you need to alther the overall theme of the site you will need to change each of the Act_Primary templates you have created... the better solution is

    2. Create a CUSTOMVAR and call it something like SECTIONHEADER. Edit the Act_Primary template and replace the NETQUOTEVAR:LOGOIMAGE to include the header with CUSTOMVAR:SECTIONHEADER

    In each section you can then add a new property and add the value against SECTIONHEADER - this being the name of the header eg: header1.jpg, header2.jpg - ensure you check the "use as CUSTOMVAR" and "file name" options are checked

    You could take this a step further and use a Javascript write function which inserts the image you have specified in the sections or inserts a default (null) image if none have been specified


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment

    Working...
    X