'Woger Posted June 16, 2014 Share Posted June 16, 2014 OK, I have gone online last week and I allready had a few sales , but in my analytics I see also quiet a few people coming at my home page and then leave. They all use Chrome and when I check my homepage with Chrome the CMS block is only 1 cm width and 30cm long. As soon as I click somewhere on the page it jumps back to normal. How do I debug this? In MS exploder and Firefox everything looks normal. Website is http://chinarello.nl Thanks, Roger Link to comment Share on other sites More sharing options...
PSfever.com Posted June 16, 2014 Share Posted June 16, 2014 Hi Roger, congratulation on new sales! body#index #cmsinfo_block { width: 100%; } Try and insert this code into your global.css file. I use Chrome and it first loaded width like 10% width. Then it loaded up properly. This should set the width directly to 100%. Then delete cache and please let me know if it helps or not. Link to comment Share on other sites More sharing options...
'Woger Posted June 16, 2014 Author Share Posted June 16, 2014 Yes that did it! Thanks! Do you also know how to make the text use the full width? It uses only the half now. Thanks, Roger Link to comment Share on other sites More sharing options...
PSfever.com Posted June 16, 2014 Share Posted June 16, 2014 You will have to change a class in the CMS page of one div from class="col-xs-6" to class="col-xs-12". Simply look for col-xs-6 and once you find it, change the number 6 to 12. Link to comment Share on other sites More sharing options...
'Woger Posted June 16, 2014 Author Share Posted June 16, 2014 Where can I find that CMS page? Link to comment Share on other sites More sharing options...
PSfever.com Posted June 16, 2014 Share Posted June 16, 2014 BackOffice - Preferences - CMS and find the CMS page you're looking for. I guess you've already edited it before. Then you will need to look inside the source code in editor, in order to see the div class. Link to comment Share on other sites More sharing options...
'Woger Posted June 16, 2014 Author Share Posted June 16, 2014 I edited it in modules > cmsblockinfo. But I can't change anything there. In themes\default-theme\modules\blockcmsinfo\ there is no file containing col-xs-6. Thanks, Roger Link to comment Share on other sites More sharing options...
PSfever.com Posted June 16, 2014 Share Posted June 16, 2014 As I said before it's directly in the html code of the content of a CMS page. Look at my previous post, it contains the way to the CMS page in BackOffice. Link to comment Share on other sites More sharing options...
'Woger Posted June 17, 2014 Author Share Posted June 17, 2014 Sorry, I don't understand it. In BackOffice - Preferences - CMS, I can only change cms parts like "return policy" etc. but not the CMS info block which is on the front page. I can change this text in the module "blockcmsinfo" but there are only a few html codes in it. Link to comment Share on other sites More sharing options...
'Woger Posted June 17, 2014 Author Share Posted June 17, 2014 OK, I found it in modules\blockcmsinfo\blockcmsinfo.tpl and changed it. Not it uses the complete width however... only when I don't use cache. As soon as I enable cache, it jumps back again . I tried recompiling and deleting index_cache.php in the cache map, without luck. It seems to be somewhere in the cache. Link to comment Share on other sites More sharing options...
PSfever.com Posted June 18, 2014 Share Posted June 18, 2014 How about changing themes/YourTheme/modules\blockcmsinfo\blockcmsinfo.tpl ? If this files exists it overrides the modules\blockcmsinfo\blockcmsinfo.tpl file. Link to comment Share on other sites More sharing options...
Recommended Posts