Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Ketanhrathod on
Hello,
I am using bootstrap theme in drupal, and have created a slideshow in it. I want the slideshow to be full width of the screen. But the its only upto the themes width. Please help me to increase the width of bootstrap theme to screen width keeping it responsive
Comments
Im assuming you have HTML,
Im assuming you have HTML, CSS and some php knowledge.
Im assuming you have created a slideshow using a view and have placed it into a region in the page.
Its very likely that this region is being printout out inside a div with class="container" somewhere. The container class is what sets the width of the page.
How if you want your slider to be full width, you are going to have to place the slider into a region that is outside the container div.
This is what your markup might look like at the moment
But this is what you need it to look like
Note that the div with the slider inside it is not placed inside any elements with the 'container' class.
So....
1. Define a new region in your .info file. (clear cache)
2. Open page.tpl.php in your theme directory.
3. Alter your markup to reflect a similar structure above.
4. Print out your new region
What slider you are using, if
What slider you are using, if you use responsive slider support, you just need to set it width 100%
What is "responsive slider support"
What modules is this please?
"responsive slider support"