-
AuthorPosts
-
July 24, 2009 at 7:41 am #142970
By default banner images published in the right sidebar are aligned (floated?) left by default. I would prefer they are aligned center if possible.
What CSS modifications to JA_Rutile wouldbe needed to align banner images to the center no matter their dimensions?
mihirc Friendmihirc
- Join date:
- December 2008
- Posts:
- 597
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 62
- Thanked:
- 95 times in 39 posts
July 24, 2009 at 7:51 am #312060Hello,
Can you post a link? so that I can tell you exactly where you need to do the css changes…
Regards,
Mihir Chhatre.July 24, 2009 at 7:52 am #312061qcpca.org.au
prakash Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
July 24, 2009 at 8:03 am #312063in JA Rulite the banners are by default set to center – only problem occurs is if you have IE8 then the banner shows more towards the left. For this u can put the IE8 – IE7 compatibility fix in index.php
July 24, 2009 at 8:09 am #312066I’m on Firefox 3.5 Mac and the banners still show to left.
Also pretty sure I have the IE8 fix in place.
Thanks tho.
mihirc Friendmihirc
- Join date:
- December 2008
- Posts:
- 597
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 62
- Thanked:
- 95 times in 39 posts
July 24, 2009 at 8:13 am #312067Hello,
Open your template.css file.
add this code to it.
div.banneritem_text{
text-align:center;
}This should align the photographs to the center. If you want to make only 1 module then add a module class suffix, and change the css name there.
Regards,
Mihir Chhatre.1 user says Thank You to mihirc for this useful post
prakash Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
July 24, 2009 at 8:14 am #312068ok…after u posted the link…i checked it..u are placing the banner is another module position…
hence you need to do this..
open the template.css file and find this
div.advs {
clear: both;
display: block;
float: left;
width: 100%;
}change that to
div.advs {
clear: both;
display: block;
text-align:center;
width: 100%;
}1 user says Thank You to prakash for this useful post
July 24, 2009 at 8:32 am #312071Thank you all for the superquck replies.
-
AuthorPosts
This topic contains 8 replies, has 3 voices, and was last updated by ascent_hosting 15 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum