Closed (fixed)
Project:
Facet API Collapsible
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2012 at 17:08 UTC
Updated:
23 Nov 2012 at 21:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
markhalliwellMight help if I could spell today too lol
Comment #2
attiks commentedYou're right, looking forward to the patch
Comment #3
markhalliwellPatch attached. Note the block h2 title toggle works with: #1836748-1: Theming hooks break site theme.
Comment #4
attiks commentedI applied the patch but changed it a bit, since on my test site I don't have .content inside the blocks, so switched it to ".facet-collapsible-wrapper"
I also left the icons, so if themers want they can use the images, otherwise they can override the style using, I don't have
.block.facetapi-collapsible.expanded.active h2.block-title .toggleon my versionFeel free to re-open if needed and thanks for the patch.
Comment #5
markhalliwellThe reason I changed the CSS for applying the toggle images in the block header to
.block.facetapi-collapsible.expanded.active h2.block-title .toggleis because themes tend to styleh2.block-title. You will have that.toggleclass on your version. In #1836748-1: Theming hooks break site theme, I injected<span class="toggle"></span>into the title. This way, by default, it will use FAPIC's images for expand/collapse and give the ability for the theme to alter/hide it if desired.