- Posts: 12
- Thank you received: 0
How to set Hot Joomla Carousel Pro to be centered?
-
markus1
Inactive member - Topic Author
- New Member
Less
More
12 years 7 months ago #18565
by markus1
How to set Hot Joomla Carousel Pro to be centered? was created by markus1
I'm using version 2.5.4.1. My development URL is
www.assistancecenter.org/joomla
. I am looking to center the module as it is presently left-justified. I noticed another topic asking about the same issue (dated a year ago) but it didn't contain a posted resolution -- only that the module is set to be left-justified for some reason.
Please advise. Thank you!
Please advise. Thank you!
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 7 months ago #18573
by ivan.milic
Replied by ivan.milic on topic Re: How to set Hot Joomla Carousel Pro to be centered?
If you add this css (anywhere in your css files):
#slider-container{
margin:0 auto;
}
it should do the job if parent element is not float:left
#slider-container{
margin:0 auto;
}
it should do the job if parent element is not float:left
Please Log in to join the conversation.
-
markus1
Inactive member - Topic Author
- New Member
Less
More
- Posts: 12
- Thank you received: 0
12 years 7 months ago #18598
by markus1
Replied by markus1 on topic Re: How to set Hot Joomla Carousel Pro to be centered?
Ivan,
I placed the code you suggested in modules/mod_hot_joomla_carousel_pro/tmpl/hot_joomla_carousel_pro.css. Unfortunately this didn't seem to change anything that I can tell.
Surprisingly before purchasing the PRO version, I had tried the free version of the module and it was centered without any tweaking using the same module position (so same parent container as the PRO version).
Any other suggestions or ideas?
I placed the code you suggested in modules/mod_hot_joomla_carousel_pro/tmpl/hot_joomla_carousel_pro.css. Unfortunately this didn't seem to change anything that I can tell.
Surprisingly before purchasing the PRO version, I had tried the free version of the module and it was centered without any tweaking using the same module position (so same parent container as the PRO version).
Any other suggestions or ideas?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 7 months ago #18622
by ivan.milic
Replied by ivan.milic on topic Re: How to set Hot Joomla Carousel Pro to be centered?
I made mistake it sould be :
.hotcarousel{
margin:0 auto;
}
bat anyway it will not work because parent element from your template has postion:relative, you have to use fixed margin-left value to center it:
like:
.hotcarousel{
margin:0;
margin-left:20px;
}
.hotcarousel{
margin:0 auto;
}
bat anyway it will not work because parent element from your template has postion:relative, you have to use fixed margin-left value to center it:
like:
.hotcarousel{
margin:0;
margin-left:20px;
}
The following user(s) said Thank You: markus1
Please Log in to join the conversation.
Time to create page: 0.158 seconds