nicksey Posted April 11, 2011 Share Posted April 11, 2011 HelloI am new to Prestashop and really like it. At the moment I am just using the standard Prestashop theme whilst I get a feel for it, but have come across a problem that I have searched for the answer to but just cant find it.I have created a subcategory that displays everything as it should, but I then want to create a subcategory of that subcategory if you see what I mean.When I do this the layout doesn't quite display as it should. The text link of the subcategory starts after the image instead of below it, but not in each one. I have attached a screen shot to show what I mean. I have experimented with making the category name longer or shorter but that does not make a difference.Is there a way to make all link titles start below the image rather than this slightly messy look, or maybe I shouldn't create such a deep subcategoryThanks in Advance Link to comment Share on other sites More sharing options...
mlalley Posted April 11, 2011 Share Posted April 11, 2011 You have to much text,look at my site : http://www.tronicsconnection.com/store/category.php?id_category=93you should only have a word or two Link to comment Share on other sites More sharing options...
nicksey Posted April 12, 2011 Author Share Posted April 12, 2011 HelloThanks for the reply, but it is nothing to do with the amount of text. The same thing happens even if it is just one short word. Link to comment Share on other sites More sharing options...
patrick7 Posted April 13, 2011 Share Posted April 13, 2011 I'm having the same problem with only a few of the sub-category text links. It seems to be the shorter words for me. Anyone got an anwer? Link to comment Share on other sites More sharing options...
Peda Posted April 21, 2011 Share Posted April 21, 2011 I am encountering the same problem too. Any body knows how to align these text links? Link to comment Share on other sites More sharing options...
UKJamie Posted April 23, 2011 Share Posted April 23, 2011 I have exactly the same problem with the subcategory pages all messed up with text all over the place (as in the posters original screenshot) Category photo with a word to its right and the rest of the line below the photo when it ought to all be below the photo.Did anyone find a solution to this one please Link to comment Share on other sites More sharing options...
ChrisLNZ Posted April 23, 2011 Share Posted April 23, 2011 I suspect that it is a css issue - you got a url to view? Link to comment Share on other sites More sharing options...
UKJamie Posted April 24, 2011 Share Posted April 24, 2011 I have found through trial and error that this happens when there is a space in the category name. So when I set the category as PG Tips (space between PG and Tips) the text is displayed over two lines. PGTips (no space between them) displays perfectly...What causes that to occur as I really want to use PG Tips(space) as that's the brand name proper. Link to comment Share on other sites More sharing options...
melriks Posted April 24, 2011 Share Posted April 24, 2011 This thread gave me a clue how to fix.http://www.prestashop.com/forums/viewthread/78239/To fix, you need to add at to category.tpl in your theme.In category.tpl, look to line 73. getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}"> {$subcategory.name|escape:'htmlall':'UTF-8'} before the {$subcategory.name... add in This will always force the words to be on a new line. Link to comment Share on other sites More sharing options...
fgala Posted August 26, 2011 Share Posted August 26, 2011 This thread gave me a clue how to fix.<br/><br/>http://www.prestashop.com/forums/viewthread/78239/<br/><br/>To fix, you need to add at to category.tpl in your theme.<br/><br/>In category.tpl, look to line 73.<br/><br/> <a >getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}"><br/><br/> <br/><br/>{$subcategory.name|escape:'htmlall':'UTF-8'}</a><br/> <br/>before the {$subcategory.name... add in <br/><br/>This will always force the words to be on a new line. Does anyone know what we need to add to fix this problem? it is not clear in this post. thanks in advance, see you. 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