Mister Denial Posted May 19, 2014 Share Posted May 19, 2014 Hello, in the PS 1.6 bootstrap theme, if you use the block layered module, every selected option will be added to the page title displayed above the items. Which completely messes up whatever background image you carefully had selected to look nice with the category text. So, is it possible to make it so that the title displayed on page does not change? I understand from an SEO point of view that it is important to have the meta page title change to avoid possible duplicate content issues, but the title on page should remain unchanged. Any ideas? Best regards, Dan 1 Link to comment Share on other sites More sharing options...
Mister Denial Posted May 19, 2014 Author Share Posted May 19, 2014 A possible fix would be to have the text line break where the image starts (I am using the square image / aligned right fix to solve the subcategory image issue.) Link to comment Share on other sites More sharing options...
greenpesto Posted June 4, 2014 Share Posted June 4, 2014 Hi there, Apparently an official fix is on its way, the forge says. As a "temp" workaround, and since the blocklayer module seems to call the category-name span to update it with the meta title, i have created a new css custom class called "category-name-preserved" in category.css (that has the same properties than category-name), and i have applied it to the category-name span in the category.tpl, like this : <span class="category-name-preserved"> {$category->name|escape:'html':'UTF-8'} </span> <!--<span class="category-name"> {strip} {$category->name|escape:'html':'UTF-8'} {if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'} {/if} {/strip} </span>--> Also, the category.css updated : .content_scene_cat span.category-name-preserved { font: 600 42px/51px "Open Sans", sans-serif; color: #000; margin-bottom: 12px; } @media (max-width: 1199px) { .content_scene_cat span.category-name-preserved { font-size: 25px; line-height: 30px; } } It does the trick for me, hope this help. Link to comment Share on other sites More sharing options...
YellowDuck Posted June 27, 2014 Share Posted June 27, 2014 https://github.com/PrestaShop/blocklayered/commit/42633f13fb3ede5c2c8a6fb299672703b50ee303 Link to comment Share on other sites More sharing options...
Recommended Posts