- Posts: 4
COMMUNITY FORUM
Horizontal alignment of gallery
- jimbobstan
-
Topic Author
- Offline
- New Member
Less
More
15 years 4 months ago #29099
by jimbobstan
Horizontal alignment of gallery was created by jimbobstan
Hi!
I am using the Simple Image Gallery (plugin).
I have one small problem and that is that my gallery is not aligned to the center in IE8. It works in Firefox and in Google Chrome.
In IE8, the gallery is aligned to the left for some reason.
Here is a link to my site:
www.glenvalleyguesthouse.co.uk
Is there anything you can do to help?
Regards,
James
I am using the Simple Image Gallery (plugin).
I have one small problem and that is that my gallery is not aligned to the center in IE8. It works in Firefox and in Google Chrome.
In IE8, the gallery is aligned to the left for some reason.
Here is a link to my site:
www.glenvalleyguesthouse.co.uk
Is there anything you can do to help?
Regards,
James
Please Log in or Create an account to join the conversation.
- Katia
-
- Offline
- Platinum Member
Less
More
- Posts: 4696
15 years 4 months ago #29100
by Katia
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Katia on topic Re: Horizontal alignment of gallery
Try to add more padding-left to this element:
.sig_thumb img {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#FFFFFF none repeat scroll 0 0;
border:1px solid #CCCCCC;
display:block;
margin:-5px 5px 5px -5px;
padding:0 0 0 20px;
position:relative;
}
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- jimbobstan
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
15 years 4 months ago #29101
by jimbobstan
Replied by jimbobstan on topic Re: Horizontal alignment of gallery
Hi,
Thankyou for your reply.
Unfortunately, when I use the padding-left in this element, it only affects how the individual thumbnails are padded in their box.
It is the whole gallery that I want to shift over to the center. As I say, in Google Chrome and Mozilla Firefox this looks correct, but not in Internet Explorer 8.
I have tried <div align="center">{gallery}rooms{/gallery}</div> but this doesn't have any effect either.
Thank you for you help and I hope there are some more ideas!
James
Thankyou for your reply.
Unfortunately, when I use the padding-left in this element, it only affects how the individual thumbnails are padded in their box.
It is the whole gallery that I want to shift over to the center. As I say, in Google Chrome and Mozilla Firefox this looks correct, but not in Internet Explorer 8.
I have tried <div align="center">{gallery}rooms{/gallery}</div> but this doesn't have any effect either.
Thank you for you help and I hope there are some more ideas!
James
Please Log in or Create an account to join the conversation.
- Katia
-
- Offline
- Platinum Member
Less
More
- Posts: 4696
15 years 4 months ago #29102
by Katia
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Katia on topic Re: Horizontal alignment of gallery
Please try this at sig.css:
.sig {margin:0 0 0 20px;}
.sig {margin:0 0 0 20px;}
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- jimbobstan
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
15 years 4 months ago #29103
by jimbobstan
Replied by jimbobstan on topic Re: Horizontal alignment of gallery
Hi,
I made the change as you said and the line in sig.css looks like this:
.sig {clear:both;margin:0 0 0 20px;padding:0px;display:table-cell;}
However, there still is no visible change from adding this setting. I read in the Simple Image Gallery Pro forum that it could be my template code overwriting the sig.css code, but i could not try the suggestions because the css files are quite different for the free sig and sigpro.
Regards
James
I made the change as you said and the line in sig.css looks like this:
.sig {clear:both;margin:0 0 0 20px;padding:0px;display:table-cell;}
However, there still is no visible change from adding this setting. I read in the Simple Image Gallery Pro forum that it could be my template code overwriting the sig.css code, but i could not try the suggestions because the css files are quite different for the free sig and sigpro.
Regards
James
Please Log in or Create an account to join the conversation.
- Katia
-
- Offline
- Platinum Member
Less
More
- Posts: 4696
15 years 4 months ago #29104
by Katia
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Katia on topic Re: Horizontal alignment of gallery
There is no doubt that there is conflict with your template but with the right changes in css code you can have a excellent result. You could ask your template provider to help you.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- jimbobstan
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
15 years 4 months ago #29105
by jimbobstan
Replied by jimbobstan on topic Re: Horizontal alignment of gallery
Hi...
I did the template myself using Artisteer. I just cannot figure out which part of the css would be causing this problem.
James
I did the template myself using Artisteer. I just cannot figure out which part of the css would be causing this problem.
James
Please Log in or Create an account to join the conversation.