Closed (fixed)
Project:
Sweaver
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2011 at 15:18 UTC
Updated:
13 Nov 2012 at 19:10 UTC
Jump to comment: Most recent
i tried to add custom selector ".sidebar .block" to let the user only select the blocks in the sidebar and no other blocks.
but it doesn't work. the blocks cannot be selected.
if i try only ".block" the blocks can be selected.
is it not possible to enter use selectors? (i tried both in the info file of the theme and also in the backend)
Comments
Comment #1
javi-er commentedHi, I think the problem that you are having is that you don't have ".sidebar" selector defined. Sweaver allows for complex selectors to be defined but first you need to define all the partents in the tree, in this case for ".sidebar .block" to work you also need to have defined ".sidebar"
Bests,
Javier
Comment #2
Anonymous (not verified) commentedjavier_ is right !
Closing
Comment #3
vojnar commentedHi,
How do you define nested selectors?
In admin panel there are only fields for excluded selectors.
There are no "include" and/or "exclusive" selectors field available for defining these properties.
Defining exclusive selector in .info file somehow did not work for me: http://drupal.org/node/1838954
Thanks,
Gabor
Comment #4
vojnar commentedIn the admin panel, you have to turn on: "Look for selectors in theme info file", and it works as it was designed.
http://drupal.org/node/1838954