Joomla 3/Edit the Padding on one article

237 views
asked Oct 25, 2013 in Website Builder by deepa1 (1,580 points)
Hi all
I am not sure if this is possible but I want to give it a try. I am looking for a way to edit the padding on one single article in my Joomla 3 website. article or module position? I want to bring the text closer to the edge.
If anyone knows a way to do this please let me know.
Your help is highly appreciated
Thank you

1 Answer

0 like 0 dislike
answered Oct 25, 2013 by adminjoom (920 points)
You can do this by using CSS by addin a new CSS class to your current CSS file and then adding this custom class name to the specific content you want to style. You would only have to change the margins padding.

add this to your CSS file
.customf {
margin-left: 2px;
margin-right: 2px;
margin-top: 2px;
margin-bottom: 2px;
padding-left: 2px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
}
...