Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, first of all thanks for this great theme!
I have a question concerning the design of the blocks in the preface (first middle and last) region: they are not enclosed in borders with a different color for the heading, as the blocks normally appear in other regions. Is it possible to change that behaviour and have the same design as in other regions, or does this require changes in the local.css?
Thanks!
Comment | File | Size | Author |
---|---|---|---|
#4 | artifact.png | 103.34 KB | lucamanu |
Comments
Comment #1
danpros CreditAttribution: danpros commentedHello,
Thanks. Yes this require changes in the local.css if you are using it.
The best example is sidebar region. If you change it be aware to modify
and this
this
this
You can using firebug.
Comment #2
danpros CreditAttribution: danpros commentedI think that answer your question.
Dan
Comment #3
lucamanu CreditAttribution: lucamanu commentedOh, yes, sure, thanks a lot. I close this issue.
Comment #4
lucamanu CreditAttribution: lucamanu commentedDear Dan,
I followed your instructions, modified the blocks design in the preface region, but this is now affecting the superfish menu region: an "artifact" block appeared over the menu. I checked with firebug, and the artifact is assigned class "block-content-inner", and includes "block-title".
I attached an image of the area of the screen showing the artifact I am talking about.
I did not touch the superfish region, and I even made sure, by commenting the changes I did in the preface region, that they are the source of the problem: the artifact disappears immediately.
I suspect, but I am not able to verify that because I don't understand php too well, that the problem is generated by the "page-front.tpl.php" but this is just an hypothesis.
Does anybody have any idea to help me?
Thanks
Luca
Comment #5
danpros CreditAttribution: danpros commentedHello,
Sorry lucamanu, but I don't know how to help you :) I don't know the changes you have made to CSS.
Comment #6
lucamanu CreditAttribution: lucamanu commentedDear Dan,
sorry for not answering sooner.
In fact you are right, I forgot to mention the changes made.
Here they are. I added the following under the "#preface-wrapper-front" section:
If you find a moment to help me, I would really appreciate.
Regards,
Luca
Comment #7
danpros CreditAttribution: danpros commentedHi,
The artifact show up because you set the global block color, since the superfish menu using Primary menu block then it will affected the Primary menu block either. To resolved that you must set the color per Preface block regions.
Comment #8
lucamanu CreditAttribution: lucamanu commentedWow! It worked! Thanks a lot, I was really going crazy with that!
Great!
Comment #9
danpros CreditAttribution: danpros commentedGlad I can help :)
Regards,
Dan
Comment #10
Anonymous (not verified) CreditAttribution: Anonymous commentedHi Dan
Still using this amazing theme in Drupal 6.
Would like to change the colors of the text in each preface region. I do not know much CSS but I put this in local.css.
#preface-wrapper .block {
color: green;}
It changed the first preface to green but I don't know how to change the middle and right to different colors. I could not find them in the main css file.
Many thanks.
Comment #11
Anonymous (not verified) CreditAttribution: Anonymous commentedNever mind Dan. I figured it out. Sorry for the bother.
Comment #13
kaiminuemils CreditAttribution: kaiminuemils commentedHello.
I have a problem. I use the theme Danland for Drupal7. I need to Preface first, Preface middle and Preface last regions width is fixed. Within the width of each region should be different. Thanks for the help.