CarlosW Posted December 30, 2015 Share Posted December 30, 2015 Hello, I am new in prestashop and use version 1.6.1.1. I have problem with the cms "About us" page, because she is displayed only at 33.33% width, while all other cms pages (like for example terms and conditions) are displayed correctly at 100% width. When searching with Firefox developer tool, I found that responsible for this situation is a line of code like: <div class="col-xs-12 col-sm-4"> which is wrong and the correct should be <div class="col-xs-12">. Usually when I encountered a similar situation in other places, I was able to find the line "<div class="col-xs-12...." in the corresponding .tpl file and change it. Unfortunately the only I can find is the cms.tpl file, but there is no such line in code to change it. In addition I don't want to change the col-sm-4 width:33,33% in the global.css file, because other elements of the site are depending on that.I tried to create also a new cms page, but the new page shows also at 33,33% width. I will appreciate any help on the matter, because I search in the Forum, but was not able to find and clues. The screenshot is in the attachment. Link to comment Share on other sites More sharing options...
gabdara Posted December 30, 2015 Share Posted December 30, 2015 It might be something related to the theme as it looks like you're not using the default theme. Link to comment Share on other sites More sharing options...
CarlosW Posted December 30, 2015 Author Share Posted December 30, 2015 On 12/30/2015 at 7:06 PM, gabdara said: It might be something related to the theme as it looks like you're not using the default theme. Thank you gabdara, I am using a custom theme, but the cms pages are from the standard CMS block v2.1.1 - by PrestaShop module. Any ideas where should I look? Link to comment Share on other sites More sharing options...
gabdara Posted December 30, 2015 Share Posted December 30, 2015 The CMS pages should be created from BO > Preferences > CMS, not from the CMS block module. You should contact the theme developer. Link to comment Share on other sites More sharing options...
CarlosW Posted December 30, 2015 Author Share Posted December 30, 2015 On 12/30/2015 at 8:43 PM, gabdara said: The CMS pages should be created from BO > Preferences > CMS, not from the CMS block module. You should contact the theme developer. My CMS pages are created from BO>Preferences>CMS, my theme is using the prestashop "standard way" to create the CMS pages. There is nothing changed by my theme in the cms part of prestashop. Do you know which file is responsible for the formatting of the cms page? I mean when I open the "about us" page in the default theme, where does the formatting instructions come from? I suppose there must be somewhere the code that formats the text of my cms page in a specific way... Thanks for your time Link to comment Share on other sites More sharing options...
gabdara Posted December 30, 2015 Share Posted December 30, 2015 Normally it should be in cms.tpl from your theme. Maybe that div comes from header.tpl, have a look under div id="center_column". 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