Alex_Druid Posted November 11, 2015 Share Posted November 11, 2015 Hi All, I'm using the default theme of PS 1.6 and i'm looking for an easy way to create a full with block on the homepage. Like for example the slider, but not only. I'm also using a free text area module, and i want it to be full width. I recognize that my goal is "only" to enhance my design. I know that the page width is determined by the ".container" class, and that the structure in the header.tpl file is linked to the footer.tpl. Is it possible to create a new hook, maybe above or under the <div class="container"> and then hook my modules there ? If so which part of the template do i have to change ? Or maybe another solution exists ? Thank you everyone for your time Alex Link to comment Share on other sites More sharing options...
NemoPS Posted November 13, 2015 Share Posted November 13, 2015 It might get complex. YOu need to change most of the template. You have to remove the page wrapper, and let the page span across the whole screen. Then, use containers for each area, so you can leave yours, in the middle, without. It can be done, but requires a lot of effort, and might break some modules 1 Link to comment Share on other sites More sharing options...
Alex_Druid Posted November 17, 2015 Author Share Posted November 17, 2015 Hi Nemo1, Thank you for your quick answer. Removing the page wrapper and use the containers for each earea might be really complex, the best will be to develop my own template or buy one. I'll see if i got time. Maybe another solution is to use css to extend a child block background, despite the containers of the parent block, in order to create a "fake" full width bloc. But i'm not sure that kind of code exists.. Link to comment Share on other sites More sharing options...
NemoPS Posted November 18, 2015 Share Posted November 18, 2015 As far as I know there is not way to extend a background beyond the borders, at least using plain css. You might be able to do something with js but it's gonna be tricky nevertheless Link to comment Share on other sites More sharing options...
Alex_Druid Posted November 22, 2015 Author Share Posted November 22, 2015 (edited) You're right, there's no such code in css. And since i'm not familiar with java, i'll let it go... Thanks again Nemo1 for your quick answers. Edited November 22, 2015 by Alex_Druid (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now