Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11
    Join Date
    Feb 2010
    Location
    ny
    Posts
    223
    Plugin Contributions
    0

    Default Re: centerbox background

    Sorry I dont understand your question.

  2. #12
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: centerbox background

    You want an image to be a background. How exactly are you trying to make that happen? It shouldn't be difficult at all, just one line in the stylesheet.

  3. #13
    Join Date
    Feb 2010
    Location
    ny
    Posts
    223
    Plugin Contributions
    0

    Default Re: Increase centerbox width

    center_bg.jpg

    I should just reference this then put image in images folder?

  4. #14
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Increase centerbox width

    Yes, in very general terms. You didn't say exactly what you tried. Be sure to put template images like this in /includes/templates/your_template/images/.

    Use it like
    .xxxx {
    background-image: url(../images/center_bg.jpg);
    }

  5. #15
    Join Date
    Feb 2010
    Location
    ny
    Posts
    223
    Plugin Contributions
    0

    Default Re: Increase centerbox width

    I have it ready, where on the css page do I put it and what do I call the .xxxx?

    .xxxx {
    background-image: url(../images/center_bg.jpg);
    }

    Thanks for all your help

  6. #16
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Increase centerbox width

    That depends on the element you want the background for.

    It's usually safe to put added style rules at the bottom of your stylesheet. They may also work correctly when put near or integrated with existing related rules.


    You might try
    #indexCategoriesMainContent {}
    Last edited by gjh42; 15 Dec 2010 at 09:02 PM.

  7. #17
    Join Date
    Feb 2010
    Location
    ny
    Posts
    223
    Plugin Contributions
    0

    Default Re: Increase centerbox width

    I am placing it on the template css page yes?

    #indexCategoriesMainContent {background-image: url(../images/center_bg.jpg);
    }

  8. #18
    Join Date
    Feb 2010
    Location
    ny
    Posts
    223
    Plugin Contributions
    0

    Default Re: Increase centerbox width

    This does not work at the bottom of the page

  9. #19
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Increase centerbox width

    You have a stray } near the bottom of your stylesheet. CSS is picky about errors, and will ignore anything after such a thing.
    Code:
    #indexCategoriesMainContent {background-image: url(../images/center_bg.jpg);
    }
    #navColumnCenter{width:80%;margin-left:15px;}
    }
    
    .xxxx {
    background-image: url(../images/center_bg.jpg);
    }
    The new rule in the location shown works on your site. Remove the red }.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v150 How can I increase the width of the display so my text area has more width.
    By westdh in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Aug 2012, 12:50 PM
  2. center column width or centerbox width
    By nohart in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Apr 2010, 05:50 PM
  3. How to increase page width
    By breck in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 4 Oct 2008, 07:44 PM
  4. Increase search button width
    By soki in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Aug 2008, 11:06 PM
  5. Change Centerbox Width
    By Outlawlb in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 24 Jan 2007, 11:28 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