Welcome, Guest
Please Login or Register.  Lost Password?
Padding in Joomla articles (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Padding in Joomla articles

#6499
Padding in Joomla articles 1 Year, 3 Months ago  
Hi, I've just got myself a virtuemart theme that had 10px padding included in the product details (like articles) and thats all wonderful!

Though I'm having a problem finding out what & where in the template css I put padding options for the "article" content with the Bolt template.

I added two images showing my problem and one with the problem solved.

Any response I would be grateful.

dreylos (User)
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
Last Edit: 2009/05/08 01:06 By dreylos.
 
The administrator has disabled public write access. 
#6504
Re:Padding in Joomla articles 1 Year, 3 Months ago  
Odd, can you provide a link.

Also, have tried editing #contentholder in the CSS?
steve (Admin)
Admin
Posts: 2744
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Any questions at all - just ask
 
The administrator has disabled public write access. 
#6506
Re:Padding in Joomla articles 1 Year, 3 Months ago  
After some private help from Stephen (messaging), I've got it right.

In the CSS document of the Bolt template:

.threecolumns #center {
margin:0 10px 0 170px;
width:620px;

Replaced with this:

.threecolumns #center {
margin:0 10px 0 170px;
padding-left: 10px;
padding-right: 10px;
width:600px;

I couldn't get it to work with the padding: 10px 10px 10px 10px method, but this above works.

Thanks
Vegard
dreylos (User)
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access. 
#6565
Re:Padding in Joomla articles - two-column? 1 Year, 2 Months ago  
Hey, Steve.

I am having the same problem with the main body content too close to the left and right edges -- see highlighted screen shot attached -- only I've got two columns, not three (left column and center column, with no right column).

Please tell me how I can add some padding to the left and right of the main article body css; the text needs more white space.

Thanks.
Scott
wyattlane (User)
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access. 
#6566
Re:Padding in Joomla articles 1 Year, 2 Months ago  
Hi Steve,

I just tried this solution below as you suggested for my problem, but to no avail - the first column is being pushed down and across somehow.

My width was 480, so I reduced it to 460 [which in itself seems counter-intuitive as the 3 columns use the full 960px...?] Anyway I changed the code to:

.threecolumns #center {
margin:0 10px 0 170px;
padding-left: 10px;
padding-right: 10px;
width:460px;
}

to no avail. IE7 still affected. A screen grab showing the problem is attached to this post.
garethsquire (User)
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access. 
#6569
Re:Padding in Joomla articles 1 Year, 2 Months ago  
Garth,

Your issue is the vspace and hspace attributes on the image tags of the misaligned images. Get rid of those, and everything should straighten out.

Nice layout concept, btw! Never would have thought of that.
sambible (Admin)
Admin
Posts: 66
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access. 
#6570
Re:Padding in Joomla articles 1 Year, 2 Months ago  
Sam, you're my hero! As for Joomla editors, there is a BIG gap in the market for someone like Alledia to bundle templates such as Bolt with an editor pre-configured NOT to change code and add in elements such as vspace without being asked!! I've now changed JoomlaFCK accordingly.

Thanks guys! Alledia is up there with my favourite Joomla suppliers - pretty near the top!
garethsquire (User)
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access. 
Go to top