-
AuthorPosts
-
August 6, 2011 at 12:51 pm #167137
I am trying to publish the banner module in “content-mass-bottom”. Unfortunately the banner is displayed with padding on the left side and get cut off on its right side. I would like to remove this horizontal padding – much in the same way the JA-Slideshow module works in “content-mass-top”. Any help would be greatly appreciated.
– Michael
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
August 6, 2011 at 1:55 pm #404787Hi Michael,
Actually the banner is just “centered” which gives it the appearance of padding on each side depending on the size of the banner.
To hack, goto [FONT=”Arial Black”]/templates/ja_edenite/css/template.css [/FONT] line 1064
and simply remove the line below in red.
#ja-banner {
margin: 0 0 15px;
overflow: hidden;
text-align: center;
width: 100%;
}
Have fun!
John.1 user says Thank You to John Wesley Brett for this useful post
August 6, 2011 at 2:13 pm #404790Thanks for the fast reply.
Unfortunately my template.css only goes up to line 833 and I can’t seem to find #ja-banner in there. There is only the following entry in line 809, and changing the alignment there doesn’t solve my problem.
div.bannergroup{
border-top: #E7E8E6 solid 1px;
padding: 15px 0 0;
text-align: center;
}Text alignment doesn’t appear to be the issue, as the banner gets cut off on the right side. You can see it for yourself here.
Thanks again for looking into this!
– Michael
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
August 7, 2011 at 4:16 pm #404834Michael,
Couple of things- could you please turn off CSS compression so I can more accurately diagnose the areas of CSS that need to be tweaked. Thanks!
Also, I’m not sure I’m understanding where the “cutting off” is occuring. The banner looks perfect to me.
SCREENSHOTJohn.
1 user says Thank You to John Wesley Brett for this useful post
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by bertlmike 13 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum