Announcement

Collapse
No announcement yet.

Yet another section background question.

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

    Yet another section background question.

    Hi All,

    I'm currently trying to add a different image to each section in my store. I've followed the instructions in the advanced guide on how to add different backgrounds when using style sheets, i.e. make a copy of the overall layout html for each section and reference the CSS to be used for each section, within each CSS include the image file to use for that section. I've done this for each of the five sections I've created but only in two sections can I see the images displayed. I've put all the new files in the site root and added them into the additional files setting, I've even copied the images into the preview folder. I've double checked the syntax for the files I've edited and the ones that don't work are the same as those that do.

    Anybody any ideas

    #2
    And for each section you have selected a different overall layout i.e.

    section 1 Overall layout selected on Layout tab is Act_Primary1.html
    section 2 Overall layout selected on Layout tab is Act_Primary2.html
    section 3 Overall layout selected on Layout tab is Act_Primary3.html
    section 4 Overall layout selected on Layout tab is Act_Primary4.html
    section 5 Overall layout selected on Layout tab is Act_Primary5.html

    yes?
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      Problem solved

      Yes, each section has its own layout. Thanks Bill but I have just managed to solve the problem. I had missed off the unit type i.e. px in the syntax for placement of the image. Once I put this in each CSS file the problem went away.

      e.g.

      /*body specific*/
      body{
      background:url(swimsection.jpg) 150px 150px no-repeat scroll;
      margin-top:0px;
      margin-right:0px;
      margin-bottom:0px;
      margin-left:0px;
      }

      Regards
      Richard

      Comment

      Working...
      X