Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / changing style of sidebox content w/ stylesheet

changing style of sidebox content w/ stylesheet

Locked

Views: 965

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
12 Jun 2010, 7:25 PM
#1
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

changing style of sidebox content w/ stylesheet

I just added a Paypal logo on my website on the right side sidebox.

url is: https://www.tte.ca

As you can see the image itself is outside the sidebox a little and I have a blue line on the left side that needs to be removed. I know it can be altered through the stylesheet but I don't remember how. Any help would be appreciated:wacko:

13 Jun 2010, 2:07 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: changing style of sidebox content w/ stylesheet

There are a few things you can do:

  1. either widen the sidebox in Admin > Configuration Layout Settings or shrink the PayPal image by a few px

  2. using Firefox get the Firebug add-on to pin-point which part in the stylesheet to alter in order to get rid of the 'blue line'

13 Jun 2010, 12:26 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: changing style of sidebox content w/ stylesheet

As Frank said, the image is 150px wide, and so is that sidebox column, so you'll need to widen one or shrink the other.

The blue line is here:

.sideBoxContent {
background-color: #FFFFFF;
padding: 0.6em;
}

Something like this:

.sideBoxContent {
background-color: #FFFFFF;
padding: 0.6em 0em 0.6em 0em;
}

13 Jun 2010, 1:00 PM
#4
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: changing style of sidebox content w/ stylesheet

Thanks, that worked perfectly. Now how do I get the existing outside vertical lines to connect.
Again Thanks

13 Jun 2010, 1:08 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: changing style of sidebox content w/ stylesheet

That's where the first part comes in. The image is too wide for that box. Either open the image in your imaging software and narrow it a few pixels, or go to Admin - Configuration - Layout Settings and increase the width of the right sideboxes and column.

13 Jun 2010, 1:39 PM
#6
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: changing style of sidebox content w/ stylesheet

Thanks again guys. What I did is , since the logo was a paypal script, I downloaded just the actual pic and altered the size in my photo editor saved it to my directory and then just changed the url for the pic to my site and voila.
Let me know what you think