T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Louw van Riet
  2. General Discussion
  3. Friday, 23 August 2013
  4.  Subscribe via email
I love the T3 Framework and I'm slowing getting to know it better. I do need help however with one thing. I have been trying to change the background color of the main body to white while keeping the sides and bottom a dark charcoal color. I managed to change it by entering the following code in the custom.css file:

.t3-sl {
padding-bottom: 5px;
padding-top: 20px;
background-color:#FFFFFF;

}
.t3-mainbody {
padding-bottom: 10px;
padding-top: 10px;
background-color:#FFFFFF;
}

My problem is the I am struggling to move the text further away from the sides as at the moment it goes right up to the dark side bar. Would you be able to advise me on what to place in the custom.css folder to increase the space between the main body text and they side? Or advise if the background color change I did is the problem.


Site: http://aqtemp.cloudaccess.net/
Joomla 3.1

Much Appreciates

Louw
Attachments (1)
Comment
There are no comments made yet.
Accepted Answer
Accepted Answer Pending Moderation
0
Votes
Undo
Yes,

You can add

.item-page .article-content { padding: 0 15px; } to your custom.css or template.css or style.less (need rebuild LESS to CSS)
If you want to add this padding for homepage article only, please change the selector to .home .item-page .article-content

Hope it helps,

Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # Permalink
Accepted Answer Pending Moderation
0
Votes
Undo
Hello!

try

.section {
padding: 0 20px;
text-align:justify;
}

On the template.less of your "theme"...

Regards...
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
You guys are legends. Thank you so much. Working perfectly now.

Hope you have a nice day.

Kind Regards,

Louw:)
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.