Quantcast
Channel: Discussions - T3 - Joomla Template Framework
Viewing all articles
Browse latest Browse all 3483

Change width of wrapper container just for the slider module position

$
0
0
Hi, I am using the Glenon template form themeforrest, which is based on the T3 framework. I have installed the Revolution slider from Unite, which allows for full width slider in your joomla templates. the slider works great, but it is not centered, as you can see: http://www.accl.net.au

I have had this problem before with a rocket theme template, which are based on the Gantry framework, the code I used to fix this is:

I added these lines in the grid-responsive.css in libraries/gantry/css :

#rt-showcase .rt-block{padding: 0px !important; margin: 0px !important; overflow: hidden !important;}

#rt-showcase .rt-container{width: 100% !important;}

#rt-showcase .rt-grid-12{width: 100% !important;}

#rt-showcase .rev_slider_wrapper fullwidthbanner-container{padding: 0px !important;}

The !important after every line is necessary.
The #rt-showcase forces the new properties only for the showcase module where the slider is displayed. So if you're using an other template, you'll have to check what's the id or class of the module where you are displaying the slider.
It also seems to be working for responsive templates.

What I need to know is what code to use and in which file is this code supposed to go. The trick is to change the width of the wrapper container JUST for the slider module position. Is this possible and what would be the way to do this? Thanks very much for your time!!

Viewing all articles
Browse latest Browse all 3483

Trending Articles