- Posts: 5
- Thank you received: 0
Gallery Module to center of template
-
Strayjack
Inactive member - Topic Author
- New Member
Less
More
13 years 1 month ago #12884
by Strayjack
Gallery Module to center of template was created by Strayjack
Hello. This may have been asked already but will try to attempt for a link, or answer.
My site is flipgamers.com , template width size is set to 990. Notice the gallery row. How do I fix this? I'm new to this. So please be gentle. Thanks.
My site is flipgamers.com , template width size is set to 990. Notice the gallery row. How do I fix this? I'm new to this. So please be gentle. Thanks.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 1 month ago #12895
by ivan.milic
Replied by ivan.milic on topic Re: Gallery Module to center of template
You have parameter for module width in hot_lightbox
Please Log in to join the conversation.
-
Strayjack
Inactive member - Topic Author
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 1 month ago #12943
by Strayjack
Replied by Strayjack on topic Re: Gallery Module to center of template
Thanks for the heads up!
Please Log in to join the conversation.
-
Strayjack
Inactive member - Topic Author
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 1 month ago #12944
by Strayjack
Replied by Strayjack on topic Re: Gallery Module to center of template
Okey, I have tweaked it to fit within the template. Somehow it fails to center. I have spent a lot of time configuring width/height to make it appear center mass of the template to no avail. Modules should be centered of template no matter. Every time I change the width/height it would shift.
I have changed the size of the module to fit within the template. Even having done that, it still shift left or right but not centered. Is this a css coding that I need to add? If so, how?
Thanks
I have changed the size of the module to fit within the template. Even having done that, it still shift left or right but not centered. Is this a css coding that I need to add? If so, how?
Thanks
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 1 month ago #12952
by ivan.milic
Replied by ivan.milic on topic Re: Gallery Module to center of template
open
www.flipgamers.com/modules/mod_hot_lightbox/tmpl/style.css
find this:
#gallery {
margin: 0 auto;
text-align: center !important;
position: relative;
}
modify it like this:
#gallery {
margin: 0 10px;
position: relative;
}
If you don't want to have fixed 10px then you should consider re-sizing your images because that module width is 100% of template, and with current image widths and margins it just can not put them like that so that right side of last visible image is placed to very right position.
www.flipgamers.com/modules/mod_hot_lightbox/tmpl/style.css
find this:
#gallery {
margin: 0 auto;
text-align: center !important;
position: relative;
}
modify it like this:
#gallery {
margin: 0 10px;
position: relative;
}
If you don't want to have fixed 10px then you should consider re-sizing your images because that module width is 100% of template, and with current image widths and margins it just can not put them like that so that right side of last visible image is placed to very right position.
Please Log in to join the conversation.
Time to create page: 0.191 seconds