Zen Follower
- Join Date:
- Dec 2006
- Posts:
- 141
- Plugin Contributions:
- 0
Align sideboxes to the left
I'm happy with everything in the sideboxes being centered apart from the bestsellers - can this be aligned left? http://www.skateboardstickers.co.uk/
Views: 1,077
Zen Follower
I'm happy with everything in the sideboxes being centered apart from the bestsellers - can this be aligned left? http://www.skateboardstickers.co.uk/
Deceased
Admin > Tools > Layout Boxes Controller
look for Box Name: best_sellers.php click edit, then Location: (Single Column ignores this setting) set to Left
You may need to adjust your sort order
Banned
monkeytastic means to align the text left in the sidebox, not the location of the sidebox, text is currently centered
Deceased
Twaddle:
monkeytastic means to align the text left in the sidebox, not the location of the sidebox, text is currently centered
Only shows that I'm still half asleep :wacko: ---- sorry.
In the stylesheet.css look for bestsellersContent (around line 1137) and code to align left
failing that look at line 1286
#bestsellers li {
margin: 0.3em 0;
padding: 0;
align: left;
}
Banned
frank18:
Only shows that I'm still half asleep :wacko: ---- sorry.
In the stylesheet.css look for bestsellersContent (around line 1137) and code to align left
You've redeemed yourself :yes:
Zen Follower
No he hasn't - it doesn't work!
:P
any other ideas?
Banned
ROFLMAO :D
Come on Frank, step up again :P
Black Belt
Your template is highly customized, and has eliminated all standard identifiers from the main structure. It is entirely composed of anonymous tables until you get to the lower content level, and the div that holds the sideboxes has an inline attribute of align="center". This is a very poorly constructed template, and a lot of work went into mucking it up.
Add to your stylesheet (doesn't really matter which one, though for clarity I would stick it in the betterCategories one):
.betterBestsellers {text-align: left;}
Zen Follower
gjh42 - thanks, that's working great now.
I recently paid a company $199 for a custom design and wish I didn't - There has been a lot of emailing back and forth with problems needing to be fixed. I'd have been better off sticking to learning how to do it myself. I've had to change alot of it myself since it was "redesigned".
I'm now trying to align the shopping cart sidebox to the left. Could you please help me with that. An couple of items would have to be added to the shopping cart for you to be able to see the sidebox.
Black Belt
You were close. The last statement in stylesheet.css should be:
#shoppingcartContent {text-align: left;}
That's an id, not a class, so it's # rather than .
Also, CSS is case-sensitive.
Zen Follower
Perfect, thank you :smile:
Tell staff why this post should be reviewed.