- Posts: 8
- Thank you received: 0
Can't get correct alignment on page
-
cassioac
Inactive member -
Topic Author
- New Member
-
Less
More
12 years 6 days ago #28888
by cassioac
Can't get correct alignment on page was created by cassioac
Ok, so now I have a new problem
I'm trying to centralize the module with the template borders, but I can't get it right.
I've already set the overall width of module to 1500 (also tried lower values with no success).
If I increase the margin between article/images, the module doesn't spread all the way as I wish, it grows horizontally until some point and get stuck, meanwhile the images/articles inside it are resized, and I don't want such behavior.
Already tried all parameter with no luck, the module doesn't spread horizontally as it was supposed to.
Any suggestions?
Thanks.
I'm trying to centralize the module with the template borders, but I can't get it right.
I've already set the overall width of module to 1500 (also tried lower values with no success).
If I increase the margin between article/images, the module doesn't spread all the way as I wish, it grows horizontally until some point and get stuck, meanwhile the images/articles inside it are resized, and I don't want such behavior.
Already tried all parameter with no luck, the module doesn't spread horizontally as it was supposed to.
Any suggestions?
Thanks.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 days ago #28896
by ivan.milic
Replied by ivan.milic on topic Can't get correct alignment on page
In:
modules\mod_hot_joomla_carousel_pro\tmpl\default.php
you will find
#hotcarouselmodule-'.$uid.' .carousel-wrap {
width:'.$moduleWidth.'px;
height:'.$moduleHeightControl.'px !important;
float:left;
}
removing float:left; will center module.
But I don't understand question about re-sizing. Carousel PRO is not responsive, Full Carousel is
modules\mod_hot_joomla_carousel_pro\tmpl\default.php
you will find
#hotcarouselmodule-'.$uid.' .carousel-wrap {
width:'.$moduleWidth.'px;
height:'.$moduleHeightControl.'px !important;
float:left;
}
removing float:left; will center module.
But I don't understand question about re-sizing. Carousel PRO is not responsive, Full Carousel is
Please Log in to join the conversation.
-
cassioac
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
12 years 6 days ago #28900
by cassioac
Replied by cassioac on topic Can't get correct alignment on page
I've done as suggested, but module is still positioned left...
Code looks like:
#hotcarouselmodule-'.$uid.' .carousel-wrap {
width:'.$moduleWidth.'px;
height:'.$moduleHeightControl.'px !important;}
If I play with the "margin between articles"parameter, it does resize the images for some reason. I can provide you the admin credentials if you wish to check for yourself...
Code looks like:
#hotcarouselmodule-'.$uid.' .carousel-wrap {
width:'.$moduleWidth.'px;
height:'.$moduleHeightControl.'px !important;}
If I play with the "margin between articles"parameter, it does resize the images for some reason. I can provide you the admin credentials if you wish to check for yourself...
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 5 days ago - 12 years 5 days ago #28914
by ivan.milic
Replied by ivan.milic on topic Can't get correct alignment on page
add:
margin: 0 auto;
like this:
#hotcarouselmodule-'.$uid.' .carousel-wrap {
width:'.$moduleWidth.'px;
height:'.$moduleHeightControl.'px !important;
margin: 0 auto;
}
margin: 0 auto;
like this:
#hotcarouselmodule-'.$uid.' .carousel-wrap {
width:'.$moduleWidth.'px;
height:'.$moduleHeightControl.'px !important;
margin: 0 auto;
}
Last edit: 12 years 5 days ago by ivan.milic.
The following user(s) said Thank You: cassioac
Please Log in to join the conversation.
Time to create page: 0.159 seconds