lasseboy Posted February 20, 2013 Share Posted February 20, 2013 Look this 2 pages , text shows diffrent why come? http://www2.gedetvidare.nu/index.php?id_category=8&controller=category text wrong http://www2.gedetvidare.nu/index.php?id_category=31&controller=category text it okej How can i fix this? Thanks for help! Link to comment Share on other sites More sharing options...
musicmaster Posted February 20, 2013 Share Posted February 20, 2013 To me they look the same. Maybe you forgot to switch off the caching after you updated the page? Link to comment Share on other sites More sharing options...
lasseboy Posted February 20, 2013 Author Share Posted February 20, 2013 If you se the text right in the rigt corner of pic, in the first pic' In seconde picture text is under the picture Link to comment Share on other sites More sharing options...
doubleD Posted February 20, 2013 Share Posted February 20, 2013 If you se the text right in the rigt corner of pic, in the first pic' In seconde picture text is under the picture Well, you can move image a bit to the right, or use clear style on <h3> or directly edit product-list.tpl... 1 Link to comment Share on other sites More sharing options...
lasseboy Posted February 20, 2013 Author Share Posted February 20, 2013 Well all pictures is same size and same posission, why some of text is wrong? Link to comment Share on other sites More sharing options...
doubleD Posted February 20, 2013 Share Posted February 20, 2013 Well all pictures is same size and same posission, why some of text is wrong? That's pretty obvious... The number of letters, when the word has 'too many' letters to fit on the right, it goes down... I think if you will set class="clear" or style="clear:both;" to the <img tag, it should do the trick Link to comment Share on other sites More sharing options...
lasseboy Posted February 20, 2013 Author Share Posted February 20, 2013 I want the text under the picture not on the right. Link to comment Share on other sites More sharing options...
doubleD Posted February 20, 2013 Share Posted February 20, 2013 I want the text under the picture not on the right. That's what i meant too Link to comment Share on other sites More sharing options...
lasseboy Posted February 20, 2013 Author Share Posted February 20, 2013 ok! is it in product_list.css or globel.css? Link to comment Share on other sites More sharing options...
doubleD Posted February 20, 2013 Share Posted February 20, 2013 ok! is it in product_list.css or globel.css? it's product_list.css add what's red #product_list li h3 { clear:both; padding:0 0 10px 0; font-size:13px; color:#000 } Link to comment Share on other sites More sharing options...
lasseboy Posted February 20, 2013 Author Share Posted February 20, 2013 Thanks, but it dident help: look here: http://www2.gedetvidare.nu/index.php?id_category=8&controller=category Link to comment Share on other sites More sharing options...
doubleD Posted February 20, 2013 Share Posted February 20, 2013 Thanks, but it dident help: look here: http://www2.gedetvid...roller=category It wasn't applied, try to override it with !important clear:both!important; Link to comment Share on other sites More sharing options...
lasseboy Posted February 20, 2013 Author Share Posted February 20, 2013 No luck this time.... thanks any way! Link to comment Share on other sites More sharing options...
doubleD Posted February 20, 2013 Share Posted February 20, 2013 No luck this time.... thanks any way! That's weird, this one will definitely work ) /themes/default/product-list.tpl find <h3> add <h3 style="clear:both"> Link to comment Share on other sites More sharing options...
lasseboy Posted February 20, 2013 Author Share Posted February 20, 2013 This is what i found seekin for <3> : <h3><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'|truncate:26:'...':true}</a></h3> Link to comment Share on other sites More sharing options...
doubleD Posted February 20, 2013 Share Posted February 20, 2013 This is what i found seekin for <3> : <h3><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'|truncate:26:'...':true}</a></h3> Make it <h3 style="clear:both"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'|truncate:26:'...':true}</a></h3> Link to comment Share on other sites More sharing options...
lasseboy Posted February 20, 2013 Author Share Posted February 20, 2013 YES!! It perfect! Thanks lot´s! Do you know how i could put som distans between pic and text. now they are intact. Link to comment Share on other sites More sharing options...
doubleD Posted February 20, 2013 Share Posted February 20, 2013 YES!! It perfect! Thanks lot´s! Do you know how i could put som distans between pic and text. now they are intact. Well, it's supposed to work from css style. Disable Cache, i think that's the issue in Settings->Performance. #product_list li h3 { clear:both; padding:0 0 10px 0; margin-top:5px; font-size:13px; color:#000 Link to comment Share on other sites More sharing options...
lasseboy Posted February 20, 2013 Author Share Posted February 20, 2013 This look pic? Link to comment Share on other sites More sharing options...
doubleD Posted February 20, 2013 Share Posted February 20, 2013 This look pic? Yes, and put the first radio button to the second one. After you are done with theaming/styling, turn it on again... Link to comment Share on other sites More sharing options...
lasseboy Posted February 20, 2013 Author Share Posted February 20, 2013 did not help http://www2.gedetvidare.nu/index.php?id_category=31&controller=category Is there any bigger problem in this shop, or should i start with 1.4 instead? Link to comment Share on other sites More sharing options...
doubleD Posted February 20, 2013 Share Posted February 20, 2013 did not help http://www2.gedetvid...roller=category Is there any bigger problem in this shop, or should i start with 1.4 instead? That's not the problem of the shop After you put Cache to Off, and Force Compile to On, you should empty the folders (except index.php file) /cache/smarty/compile/ /cache/smarty/cache /themes/default/cache It should 100% work I see there is a h3 tag in your global css file h3 { padding-bottom: 20px; font-size: 16px; } add padding-top:20px; I recommend you to use Chrome Dev tools or Firefox Firebug to locate style of elements you are about to change. 1 Link to comment Share on other sites More sharing options...
lasseboy Posted February 21, 2013 Author Share Posted February 21, 2013 Thanks you lot´s that did the work! Link to comment Share on other sites More sharing options...
Recommended Posts