Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2008
    Location
    Edinburgh
    Posts
    26
    Plugin Contributions
    0

    Default Background image on CentreColumn - unique to front page only?

    Is there a way to make a background image unique to only the front page?

    This is what I need to get:


    I figured the only way to get the coloured bands would be to just use a background image. Problem is, the bands also appear on the sub-category pages.

    Anyone know how I could get around this?

    Thanks. :)

    Edit: I was thinking like, if statements? Can you do that in stylesheets? if(homepage){ }?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Background image on CentreColumn - unique to front page only?

    If your are applying this through CSS then have a read of the css readme in the css folder for index page or home page specific stylesheet

  3. #3
    Join Date
    Aug 2008
    Location
    Edinburgh
    Posts
    26
    Plugin Contributions
    0

    Default Re: Background image on CentreColumn - unique to front page only?

    Quote Originally Posted by kobra View Post
    If your are applying this through CSS then have a read of the css readme in the css folder for index page or home page specific stylesheet
    Had a look, and I think I get what I need to do. What would the stylesheet be called? I'd want it to override stylesheet.css, so could it be stylesheet_home.css? And what would I change for the front page use this one and not the default?

    Thanks for your help. :)

  4. #4
    Join Date
    Aug 2008
    Location
    Edinburgh
    Posts
    26
    Plugin Contributions
    0

    Default Re: Background image on CentreColumn - unique to front page only?

    Got it (kinda)! Changed the name to index_home.css, and it works fine. Problem is, though the background no longer shows up on say, the contact us page, it still shows up for categories pages. Any thoughts?

    Thanks again!

 

 

Similar Threads

  1. Apply a different image background for the home page only?
    By arniesbarmyarmy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Nov 2009, 07:36 PM
  2. Replies: 6
    Last Post: 16 Oct 2007, 02:37 PM
  3. Sidebox only in Front Page
    By Pochon in forum Basic Configuration
    Replies: 1
    Last Post: 9 Sep 2007, 12:30 AM
  4. Centre contents of front page only
    By fleabags in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 3 May 2007, 03:20 AM
  5. Front Page Background
    By BlushFashions in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 19 Sep 2006, 10:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg