How to control left and right margin in mainbody text?

GK User
Thu Jul 24, 2014 5:56 am
My text in the itembody is too narrow both to the right and left margin. I have tried to fix this using the below code in override.css.

Code: Select all
.itemBody {
    background: rgba(255, 255, 255, 0.51);
    color: #222222;
    float: justify;
    padding: 0;
    width: 95.2%;
   padding-left:25px;
   padding-right:25px;
   padding-top:8px;
   padding-bottom:25px;
}


However, chaning the padding-right value has no effect (?). I only can change the left, top and bottom.

Any ideas on how to solve this?
User avatar
Gold Boarder

GK User
Fri Jul 25, 2014 10:17 am
Could you show me your website after this change? Maybe the override.css styles are not loading properly.
User avatar
Platinum Boarder

GK User
Sat Jul 26, 2014 5:43 am
Please have a look at www.gaiatellus.org to see if you can fix this issue.

Thanks in advance :)
User avatar
Gold Boarder

GK User
Mon Jul 28, 2014 1:48 pm
I can't understand your problem. I've visited your website and see this » screenshot

The text container is 100% wide but you text is centred by your inline CSS that's why it not displayed from left to the right side.
User avatar
Platinum Boarder

GK User
Tue Jul 29, 2014 6:19 am
Good to hear feedback from you on this :)

Acutally, we have had to solve the "margin problem" by applying tables to some articles instead of simply adjusting left and right margins in the template. The screenshot you sent me is based on such a table layout (we would like to avoid tables as much as possible).

I have now sent you a direct link with login details for you see this behavior live.

Looking forward to hearing you comments and suggestion to solve this. B)
User avatar
Gold Boarder

GK User
Tue Jul 29, 2014 2:37 pm
Please use PM only when we request it. Sending details like page URL via PM makes that it only take longer to resolve your issues.
User avatar
Platinum Boarder

GK User
Tue Jul 29, 2014 3:21 pm
bkrztuk wrote:Please use PM only when we request it. Sending details like page URL via PM makes that it only take longer to resolve your issues.


Understood. Will do in the future ;)
User avatar
Gold Boarder

GK User
Wed Jul 30, 2014 8:33 am
bkrztuk wrote:Please use PM only when we request it. Sending details like page URL via PM makes that it only take longer to resolve your issues.


Please, let me know if you need login details to FTP or other information so that we can speed up a solution for this :P
User avatar
Gold Boarder

GK User
Thu Jul 31, 2014 7:31 pm
Please have a look at your PM one last time. All should be there and work now.
User avatar
Gold Boarder


cron