Maharban Posted February 9, 2014 Share Posted February 9, 2014 I want to make a new style of my theme width 1a00 % . and i want set set its width 100% in header , top menu bar, slider, feature products and footer. even same on inner pages like catagory page... do i have to do this manually >>???????? Please let me know how can i do this with minimum codding and with few simple steps,\\ <div> Thanks in advance </div> Link to comment Share on other sites More sharing options...
vekia Posted February 9, 2014 Share Posted February 9, 2014 you have to modify css styles of your theme files. if you use default one, check grid_prestashop.css file this file contains "width" definitons for entire theme. grid_9 by default has got 980px; change it to 100% do the same for other grid_definitions, just use percentages instead of pixels 2 Link to comment Share on other sites More sharing options...
GrooviestG Posted September 16, 2014 Share Posted September 16, 2014 Hello Veki i am pretty new to Presta shop, tried to change to 100% width but suddenly if I make browser smaller the right block moves below, same on smaller monitors??? i change many things in grid_prestashop.css but it's too much and nowhere to find out can you please help www,wellnesspark.es/Home is the web site thanks a lot Regards Frankie Link to comment Share on other sites More sharing options...
vekia Posted September 16, 2014 Share Posted September 16, 2014 use these styles in grid_prestashop.css /* Variable Grid System. Learn more ~ http://www.spry-soft.com/grids/ Based on 960 Grid System - http://960.gs/ Licensed under GPL and MIT. */ /* Containers ----------------------------------------------------------------------------------------------------*/ .container_9 { margin:0 auto; width: 100%;; } /* Grid >> Global ----------------------------------------------------------------------------------------------------*/ .grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9 { display:inline; float: left; position: relative; } /* Grid >> Children (Alpha ~ First, Omega ~ Last) ----------------------------------------------------------------------------------------------------*/ .alpha {margin-left: 0;} .omega {margin-right: 0;} /* Grid >> 9 Columns ----------------------------------------------------------------------------------------------------*/ .container_9 .grid_1 {width:9.28%;} .container_9 .grid_2 {width:20.60%;} .container_9 .grid_3 {width:31.92%;} .container_9 .grid_4 {width:43.26%;} .container_9 .grid_5 {width:54.59%;} .container_9 .grid_6 {width:65.90%;} .container_9 .grid_7 {width:77.24%;} .container_9 .grid_8 {width:88.55%;} .container_9 .grid_9 {width:100%;} #container {width:100%} /* Prefix Extra Space >> 9 Columns ----------------------------------------------------------------------------------------------------*/ .container_9 .prefix_1 {padding-left:111px;} .container_9 .prefix_2 {padding-left:222px;} .container_9 .prefix_3 {padding-left:333px;} .container_9 .prefix_4 {padding-left:444px;} .container_9 .prefix_5 {padding-left:555px;} .container_9 .prefix_6 {padding-left:666px;} .container_9 .prefix_7 {padding-left:777px;} .container_9 .prefix_8 {padding-left:888px;} /* Suffix Extra Space >> 9 Columns ----------------------------------------------------------------------------------------------------*/ .container_9 .suffix_1 {padding-right:111px;} .container_9 .suffix_2 {padding-right:222px;} .container_9 .suffix_3 {padding-right:333px;} .container_9 .suffix_4 {padding-right:444px;} .container_9 .suffix_5 {padding-right:555px;} .container_9 .suffix_6 {padding-right:666px;} .container_9 .suffix_7 {padding-right:777px;} .container_9 .suffix_8 {padding-right:888px;} /* Push Space >> 9 Columns ----------------------------------------------------------------------------------------------------*/ .container_9 .push_1 {left:111px;} .container_9 .push_2 {left:222px;} .container_9 .push_3 {left:333px;} .container_9 .push_4 {left:444px;} .container_9 .push_5 {left:555px;} .container_9 .push_6 {left:666px;} .container_9 .push_7 {left:777px;} .container_9 .push_8 {left:888px;} /* Pull Space >> 9 Columns ----------------------------------------------------------------------------------------------------*/ .container_9 .pull_1 {left:-111px;} .container_9 .pull_2 {left:-222px;} .container_9 .pull_3 {left:-333px;} .container_9 .pull_4 {left:-444px;} .container_9 .pull_5 {left:-555px;} .container_9 .pull_6 {left:-666px;} .container_9 .pull_7 {left:-777px;} .container_9 .pull_8 {left:-888px;} /* Clear Floated Elements ----------------------------------------------------------------------------------------------------*/ /* http://sonspring.com/journal/clearing-floats */ .clear { /*clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0;*/ } /* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack .clearfix:after { clear: both; content: ' '; display: block; font-size: 0; line-height: 0; visibility: hidden; width: 0; height: 0; } .clearfix { display: inline-block; } * html .clearfix { height: 1%; } .clearfix { display: block; } */ Link to comment Share on other sites More sharing options...
GrooviestG Posted September 17, 2014 Share Posted September 17, 2014 Thanks a lot I give it a try Frankie Link to comment Share on other sites More sharing options...
vekia Posted September 17, 2014 Share Posted September 17, 2014 let me know when you will apply this code to your website Link to comment Share on other sites More sharing options...
GrooviestG Posted September 17, 2014 Share Posted September 17, 2014 (edited) hello Vekia done, just need to adjust top menu, maybe you have one more tip how to... http://www.wellnesspark.es/Home/index.php Thank you so much for your support!!! regards Frankie Edited September 17, 2014 by GrooviestG (see edit history) Link to comment Share on other sites More sharing options...
GrooviestG Posted September 18, 2014 Share Posted September 18, 2014 hello Vekia All solved, found your description how to do it in the forums great job you doing thanks a lot Regards Frankie Link to comment Share on other sites More sharing options...
xcoder Posted October 16, 2014 Share Posted October 16, 2014 (edited) I just looked up in my default prestashop theme, and i there is not grid_prestashop.css file. I downloaded prestashop again and no such file find. My version of prestashop is 1.6.0.9 Edited October 16, 2014 by xcoder (see edit history) Link to comment Share on other sites More sharing options...
GrooviestG Posted October 16, 2014 Share Posted October 16, 2014 it should be in Themes/default/css if you using default theme... Link to comment Share on other sites More sharing options...
GrooviestG Posted October 16, 2014 Share Posted October 16, 2014 so sorry that was the solution for presta Shop 1.5... My mistake Link to comment Share on other sites More sharing options...
xcoder Posted October 16, 2014 Share Posted October 16, 2014 GrooviestG, i was looking there but there is nothing with this name. Anyone knows how to make it 100% wide with 1.6.0.9? Link to comment Share on other sites More sharing options...
DrunkBug Posted October 17, 2014 Share Posted October 17, 2014 GrooviestG, i was looking there but there is nothing with this name. Anyone knows how to make it 100% wide with 1.6.0.9? To the bottom of your global.css, add these lines: .container { margin: 0 auto; width: 100%; max-width:100%; } 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