Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Image Slider free Joomla module.

Topic-icon Hot Image slider gets pushed to the left

More
5 years 2 months ago #13035 by short
Hi There,

I'd like to use the Hot Imageslider full widht of the page.
Now when I set the width of the slider to 2000px and height to say 600px,
The images (or the whole slider) get pushed to the left as I zoom in or view it on a smaller screen)

I'm not sure if this is the slider or the modulepostion in the template, but I can't seem to get it to centre and overflow the sides.

All help much appreciated.

Please Log in to join the conversation.

More
5 years 2 months ago #13046 by ivan.milic
can we see link?

Please Log in to join the conversation.

More
5 years 2 months ago - 5 years 2 months ago #13103 by short
Yes, sorry.
Last Edit: 5 years 2 months ago by short.

Please Log in to join the conversation.

More
5 years 2 months ago - 5 years 2 months ago #13110 by ivan.milic
Well, as I understand you would like to change dimensions dynamically ? css wont help, you must do some scripting. Add this some ware in index.php of template:

<script type="text/javascript">



jQuery(window).resize(function () {


var left = Math.ceil((jQuery(window).width() - jQuery('#header_hotslider').innerWidth()) / 2);

jQuery('#header_hotslider').css({'position':'relative',
'left': String(left) + 'px'
});



});

</script>
Last Edit: 5 years 2 months ago by ivan.milic.
The following user(s) said Thank You: short

Please Log in to join the conversation.

More
5 years 2 months ago - 5 years 2 months ago #13111 by short
Hi ivan.milic,

Thanks for helping out.

The slider gets pushed to the right not left, my bad,

I placed your script under the other <script type="text/javascript"> in the index.php of the template.

It did not do the trick tho
Last Edit: 5 years 2 months ago by short. Reason: extra info

Please Log in to join the conversation.

More
5 years 2 months ago - 5 years 2 months ago #13112 by short
It seems that it's the div class="module_slider, because if i put an image in the same spot, it does the same thing.
Can a modulepostion be out side of de monitor screen on both sides?
Last Edit: 5 years 2 months ago by short.

Please Log in to join the conversation.

Time to create page: 0.124 seconds

Links, Partners and Social Media