Hello,
My site has Max Width 1200 px and width 88%, how to put my slider with the same width?
Regards
Hello,
My site has Max Width 1200 px and width 88%, how to put my slider with the same width?
Regards
Hi There,
Thanks for asking!
Please make the slider auto width, so that it will adapt the container/site width!
Hope this helps!
Thanks
Hey @basanta,
I the same problem which is almost fixed by your suggestions. I now have my slider set to auto and it has the same site width (88%) as the rest of my x theme BUT I want my slider to be full width (100%). How do I do that and still have the elements in my slider align to the 88% width?
Thanks
Hi There,
The content inside slider doesnât depend on the site width.
You have to set the content layer width according to your site max width set in theme option.
Hope this helps!
Thanks
Hey,
thanks but the site max width is not only 1200px but also 88%. How do I achieve those 88%?
Thanks
Hi There,
See this guide:
https://www.themepunch.com/revslider-doc/layer-responsive-behavior/
On 2. Boxed (Grid Based) vs. Full-Width (Slide Based) Alignment > Set Width value accordingly.
Hope this helps.
Hey @Lely,
thanks for helping but Iâm still not able to achieve what I am sure is standart for a slider.
I just want to have the elements in my slider align width the width container from my x theme.
See the attached screenshots to see what I mean. The green line is where I want the blueish box in my slider to be aligned.
Thanks!
Hi There,
Please make sure the Horizontal Offset
is set to 0
:
If it still doesnât work, would you mind providing us with login credentials(by clicking on the Secure Note button at the bottom) so we can take a closer look? To do this, you can make a post with the following info:
Thanks.
hey,
I attached the login data.
The rev slider is on the start page (there is only one at the moment).
Thanks!
Hi There,
Iâve set the layer align to left:
And also add this custom JS, everything is fine now.
jQuery(document).ready(function($) {
$('.hero-teaser').css('margin-left', ($(window).width() - $('header > .x-bar > .x-bar-content').width())/2);
});
Can you have a look?
Regards!
hey @thai,
as soon as I make the browser window a little bit smaller it is not aligned to the âneanderbadâ logo on the left againâŚ
see screenshot attached
hey, fixed it to a function firering on scroll and now its working. thanks!
jQuery(window).resize(function(event) {
jQuery(window).resize(function(event) {
var $ = window.jQuery;
$(â.hero-teaserâ).css(âmargin-leftâ, ($(window).width() - $(âheader > .x-bar > .x-bar-contentâ).width())/2);
});
Glad youâve sorted it out
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.