jmthd Posted November 13, 2012 Share Posted November 13, 2012 (edited) I am running PS v. 1.4.9, using a lightly modified Prestashop New theme, and trying to make use of the Layered Navigation module. I am able to set up filter templates, and they display correctly. The problem is, after selecting a filter, the button to remove the filter does not display (I believe it is supposed to show a graphic named delete.gif). However, the cursor seems to be aware that there is/should be a button there, and clicking in the blank area does remove the filter. So, can anyone help me get that button/graphic to display? I've reached my limits looking through blocklayered.tpl and its CSS. Any help would be much appreciated. Edited December 11, 2012 by JoshMeyer (see edit history) Link to comment Share on other sites More sharing options...
jmthd Posted November 21, 2012 Author Share Posted November 21, 2012 *nudge - any CSS ninjas out there? Link to comment Share on other sites More sharing options...
gdinari Posted December 8, 2012 Share Posted December 8, 2012 (edited) Hi JoshMeyer, I experienced the same problem with my layered block and the problem was the image reference in the css file. Depending on the location of the delete.gif and if you created a blocklayered-15.css override file (in your theme's css modules [themes/yourtheme/css/modules/blocklayered/blocklayered-15.css] folder instead of the general module folder [site/modules/blocklayered/blocklayered-15.css]) you need to correctly specify the image location. So you need to make sure the url reference for the image is correct. The upper-directory trails "../" can get tricky, so you may need to play with it a little. Here is what my url reference looks like from my override blocklayered.tpl file (notice I have more upper-trails than the original below): #enabled_filters li a { background: url(../../../img/icon/delete.gif) no-repeat 0 0 transparent; } And this is what the original looks like: #enabled_filters li a { background: url(./delete.gif) no-repeat 0 0 transparent; } I hope this helps. Edited December 8, 2012 by gdinari (see edit history) Link to comment Share on other sites More sharing options...
jmthd Posted December 11, 2012 Author Share Posted December 11, 2012 Thanks gdinari! By chance, I figured this out just hours before you posted. Yes, it was as simple as correcting the image URL paths in the module's CSS. Still, thanks for taking the time! Link to comment Share on other sites More sharing options...
garrypark Posted April 27, 2013 Share Posted April 27, 2013 Realised I was using a 'Prestashop Theme Maker' theme which was overriding the original css. So I deleted the blocklayered-15.css in themes/xxxxxx/css/modules/blocklayered/ and it all looks fine now. 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