Can't get correct alignment on page

  • cassioac
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 3 weeks ago #28888 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.

Please Log in to join the conversation.

More
11 years 2 weeks ago #28896 by ivan.milic
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

Please Log in to join the conversation.

  • cassioac
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 2 weeks ago #28900 by cassioac
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...

Please Log in to join the conversation.

More
11 years 2 weeks ago - 11 years 2 weeks ago #28914 by ivan.milic
add:

margin: 0 auto;

like this:


#hotcarouselmodule-'.$uid.' .carousel-wrap {
width:'.$moduleWidth.'px;
height:'.$moduleHeightControl.'px !important;
margin: 0 auto;
}
Last edit: 11 years 2 weeks ago by ivan.milic.
The following user(s) said Thank You: cassioac

Please Log in to join the conversation.

  • cassioac
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 2 weeks ago #28949 by cassioac
That solved the problem, thanks!

Please Log in to join the conversation.

Time to create page: 0.300 seconds
Powered by Kunena Forum