Hi,

I have used panels in my current project and applied the styles onto classes
When the same panels were ported/ imported to another copy of the same project.

The association of css classes with panels classes got disturbed

Is there a way to do it safe and do it without breaking the coupling of panels and css class (in style.css)

Please help!

Comments

hilarudeens’s picture

hi,

There is two way to acheive this. one is u should remove class which is target by style.css from the second copy. Second one is add a new class to second pannel and writedown the css definiton for newly added class in your style.css. Or perform both.....

good luck......

thanks,

gaurav_m’s picture

That means writing the same rule again and assigning to new panel classes? Right : )

hilarudeens’s picture

hi,

if u want to change appearance of second pannel, write the new css in style.css otherwise no need to touch the css ... and also ensure removing of class mayn't cause pannel's default functionality....

be sure which css affected your pannel by using Mozilla Fire-bug...

thanks

gaurav_m’s picture

My point was to know
if there is any way that without touching the classes again i can port the panel and style sheet coupled classes to some other db. and keeping the association in contact between
the Panel classes (dynamic) and stylesheet css classes (static)
Firebug is always a friend! though

thanks for the reply

hilarudeens’s picture

hi,

if i am right, you are using the pannel or div-tag in two different places or pages of your project and need to be change some behavior of pannel one from another.....

If possible give me the code snippets.....where you are want to change.... or give me more details of your problem....

thanks

gaurav_m’s picture

I exported the panels pages set up and imported into another version of same project
the css rule definition were initially applied to default panel classes

now in exported version of Drupal set up the def. panel classes of a page are coming different and mutual association between panel classes and css rules got disturbed.

is there a way to keep the association same ?

Even if we import it.

hilarudeens’s picture

hi,

sorry not clear....give me code of pannels............