Results 1 to 8 of 8
  1. #1
    Join Date
    May 2006
    Location
    Queensland, Australia
    Posts
    248
    Plugin Contributions
    0

    Default Adding a Right Column to single column template

    Greetings;

    I brought this template for the site, however it was only 1 column at the time of buying it.

    I have since tried to add another column (right) and there are a few things that seem to be a bit buggy

    The Right column is slightly higher then the left and there is also a background colour on the left column and not on the right.

    I was wondering if there was some coding i was suppose to change to make a single column to 2 columns.

    Site: http://www.delightsoftheflesh.com - Contains Adult content.

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

    Default Re: Adding a Right Column to single column template

    In the stylesheet.css file for this template find this and add what is in red
    Code:
    #searchHeading{
    	background:#363636 url(../images/sideheading.gif) no-repeat scroll left; margin-top: 1em;
    	}
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2006
    Location
    Queensland, Australia
    Posts
    248
    Plugin Contributions
    0

    Default Re: Adding a Right Column to single column template

    Quote Originally Posted by kobra View Post
    In the stylesheet.css file for this template find this and add what is in red
    Code:
    #searchHeading{
    	background:#363636 url(../images/sideheading.gif) no-repeat scroll left; margin-top: 1em;
    	}
    Thanks, that worked like a treat.

    Dosnt suppose you have any ideas on the background image missing on the right colum but is on the left colum, i cant find that...

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Adding a Right Column to single column template

    Add:

    #navColumnTwo {background-color:#eeeeee;}

    You may have to increase the width of the right column in admin to make it look the same as the left.

  5. #5
    Join Date
    May 2006
    Location
    Queensland, Australia
    Posts
    248
    Plugin Contributions
    0

    Default Re: Adding a Right Column to single column template

    Quote Originally Posted by stevesh View Post
    Add:

    #navColumnTwo {background-color:#eeeeee;}

    You may have to increase the width of the right column in admin to make it look the same as the left.
    I found the coding that deals with the left column;

    Code:
    #navColumnOne, #navColumnTwo (line 270)
    
    {
    
    background-color: transparent;
    
    }
    i still don't get why the left column is coloured but the right one isnt, it is like the left one has more coding somewhere that isnt showing up.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,872
    Plugin Contributions
    96

    Default Re: Adding a Right Column to single column template

    Your left column contains in-line coding, from your template:

    background: none repeat scroll 0% 0% rgb(238, 238, 238);

    while the right column doesn't. If you modify your stylesheet.css to contain:

    #navColumnTwo {
    background: none repeat scroll 0% 0% rgb(238, 238, 238);
    }

    ... they'll match.

  7. #7
    Join Date
    May 2006
    Location
    Queensland, Australia
    Posts
    248
    Plugin Contributions
    0

    Default Re: Adding a Right Column to single column template

    Quote Originally Posted by lat9 View Post
    Your left column contains in-line coding, from your template:

    background: none repeat scroll 0% 0% rgb(238, 238, 238);

    while the right column doesn't. If you modify your stylesheet.css to contain:

    #navColumnTwo {
    background: none repeat scroll 0% 0% rgb(238, 238, 238);
    }

    ... they'll match.
    Cant find where that "in-line coding" is located, but you are dead on with the right column..

    Thanks, thanks a lot excactly what i was after.

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,872
    Plugin Contributions
    96

    Default Re: Adding a Right Column to single column template

    Glad to help.

    If you want to find out where the "magic incantation" is coded, just to to your admin's "Developers Tool Kit" and search for background: none repeat scroll 0% 0% rgb(238, 238, 238); in all PHP files.

 

 

Similar Threads

  1. Space between left layout column and right content column
    By eazy in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Mar 2013, 02:16 AM
  2. Column Grid / Single Listing Template Alternative
    By niccol in forum All Other Contributions/Addons
    Replies: 74
    Last Post: 9 Jul 2012, 01:25 PM
  3. Remove Left Column and add images on right column
    By steve Nezia in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 13 Jun 2011, 03:40 PM
  4. Adding to right column
    By shawnchr in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Jun 2009, 11:31 AM
  5. Column Grid Layout on 1.3.7 (single column problem)
    By Taipa in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 12 May 2007, 11:44 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