Results 1 to 10 of 17

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Location
    Perth Australia
    Posts
    30
    Plugin Contributions
    0

    Default Main page background image problem!

    Hi guys,

    Working on a customisation of the gloss_blue template but have one problem. I'm trying to put in a background image for the main page (center column), but this template seems to have set the image to 100% with, whilst I want to set it to a certain size like 700px.

    Can anyone tell me where in the code I can go to to fix this?

    Cheers

    Tsaurus

    ps, see attached image
    Attached Images Attached Images  

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

    Default Re: Main page background image problem!

    Almost all the styling can be controlled by editing the stylesheet.css file located in the includes/templates/template_default/css folder...make a copy to your template file and edit the copy. Use the override system.

    Then look for mainWrapper. and it is most likely 100% so set it to 75% or a defined number of px.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2006
    Location
    Perth Australia
    Posts
    30
    Plugin Contributions
    0

    Default Re: Main page background image problem!

    Thanks Kobra

    Unfortunately I have already tried that, the mainwrapper width setting seems to control the entire page width, left and right columns included. I think this has something to do with this particular template as it was originally designed for 100% width?

    Where else could I go to find the width setting for the center column only?

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

    Default Re: Main page background image problem!

    Check these classes & ID's for settings, marging & padding:

    .centerColumn
    .centerBoxHeading

    I also did not see any sideboxes in your pic...do you not have any displaying? If not have you turned off the left & right columns globally in admin > config > layout settings?
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jul 2006
    Location
    Perth Australia
    Posts
    30
    Plugin Contributions
    0

    Default Re: Main page background image problem!

    Thanks Kobra

    Yeah I've deliberately left the sideboxes out yet, still playing with the main design first before I work on them.

    Could you please explain what I should do with the class and id settings? I'm not familiar with them yet...still learning :)

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

    Default Re: Main page background image problem!

    Got a url?? As this gets you more direct responses

    can post it like mydomain dot com
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Background image not showng on main page
    By HeyIts007 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 5 Dec 2011, 01:37 PM
  2. Background image in the main page section
    By reneet in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Mar 2010, 10:35 PM
  3. Background Colour/Image Main Page
    By gee38l in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 9 Jan 2009, 03:25 PM
  4. Background image on main page
    By johnagr in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Aug 2008, 01:49 AM
  5. Background image on main page
    By JHouston in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Mar 2008, 08:24 PM

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