patrickvbw Posted January 24, 2013 Share Posted January 24, 2013 (edited) In my shop, the module blockviewed does not let my short description fit in the block. It goed on after the block. See screenshot. How to fix this? Edited February 19, 2013 by patrickvbw (see edit history) Link to comment Share on other sites More sharing options...
passie Posted January 26, 2013 Share Posted January 26, 2013 Go to your themes/<yourchosentheme>/modules/blockviewed folder and edit blockviewed.tpl (N.B. if the modules folder doesn't exist in the <yourtheme> folder, create it. if the blockviewed folder doesn't exist yet, create it and copy blockviewed.tpl from /modules/blockviewed to this new place. Note: Be careful with CAPITALs! just follow as in /modules!) Here is a <div class="text_desc"> most probably You should add something as style="overflow:auto;" to it. <div class="text_desc" style="overflow:auto;"> (default ="overflow:visible", just showing the contents outside the box, like in your case) For overflow options and description, , see: http://www.w3schools.com/cssref/pr_pos_overflow.asp Hope this did the trick. Pascal. 1 Link to comment Share on other sites More sharing options...
patrickvbw Posted February 19, 2013 Author Share Posted February 19, 2013 Sorry for the really late response, but i fixed it. When i added the style="overflow:auto;" , it showed me a scroll possibility, to see the rest of the text. Didn't look nice on my website. Instead i added style="overflow:hidden;" , and now it's hidden Thanks for giving me a helping hand! Link to comment Share on other sites More sharing options...
PascalVG Posted February 20, 2013 Share Posted February 20, 2013 (edited) Hi Patrick, Glad I could help. Hidden does the job, but just cuts the text. If that works for you, that's the way to go. Cheers, pascal Edited February 20, 2013 by PascalVG (see edit history) 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