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!

CommentFileSizeAuthor
#4 artifact.png103.34 KBlucamanu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

danpros’s picture

Hello,

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

#preface-wrapper-front {
width:953px;
margin:0 auto;
bottom: 50px; <!-- modify this -->
position: relative;
}

and this

#wrapper-front {
width:953px;
margin:0 auto;
bottom: 50px; <!-- modify this -->
position: relative
}

this

#bottom-wrapper-front {
background-color: #f4f4f4;;
border-right: 1px solid #bbb;
border-left: 1px solid #ddd;
border-top: 1px solid #ddd;
margin: 0 auto;
text-align: left;
width: 953px;
position: relative;
bottom: 30px; <!-- modify this -->
}

this

#footer-wrapper-front {
width: 953px;
margin: 0 auto;
position: relative;
bottom: 30px; <!-- modify this -->
}

You can using firebug.

danpros’s picture

Status: Active » Closed (fixed)

I think that answer your question.

Dan

lucamanu’s picture

Oh, yes, sure, thanks a lot. I close this issue.

lucamanu’s picture

Status: Closed (fixed) » Active
FileSize
103.34 KB

Dear 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

danpros’s picture

Hello,

Sorry lucamanu, but I don't know how to help you :) I don't know the changes you have made to CSS.

lucamanu’s picture

Dear 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:

.block {
margin-bottom: 0;
}

.block-title {
background: #e6e6e6;
margin:0;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 10px;
padding-right: 10px;
font-size: 1.3em;
border-right: 1px solid #bbb;
border-left: 1px solid #ddd;
border-top: 1px solid #ddd;
}

.block-content {
background-color: #f4f4f4;
border-right: 1px solid #bbb;
border-bottom: 1px solid #bbb;
border-left: 1px solid #ddd;
border-top: 1px solid #ddd;
}

.block-inner {
padding-top: 5px;
}

.block-content {
  
}

.block-content-inner {
margin: 0;
padding: 5px 15px 5px 15px;
}


#preface-wrapper-front .column {
float: left;
}


If you find a moment to help me, I would really appreciate.
Regards,
Luca

danpros’s picture

Hi,

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.

/* Preface first + Preface middle + Preface last regions
-------------------------------------------------------------- */

#preface-wrapper-front {
width:953px;
margin:0 auto;
bottom: 50px;
position: relative;
}

.center {
margin: 0 auto;
text-align: left;
width: 953px;
}

#preface-wrapper-front .column {
float: left;
}
#preface-wrapper-front.in1 .column {
width: 98%;
margin-right: 1%;
margin-left: 1%;
}

#preface-wrapper-front.in2 .column {
width: 46.65%;
margin-right: 1%;
margin-left: 1%;
}

#preface-wrapper-front.in3 .column {
width: 31.1%;
margin-right: 1%;
margin-left: 1%;
}

#preface-wrapper {
width:953px;
margin: 0 auto;
padding-top: 5px;
}

#preface-wrapper .column {
float: left;
}

#preface-wrapper.in1 .column {
width: 98%;
margin-right: 1%;
margin-left: 1%;
}

#preface-wrapper.in2 .column {
width: 46.65%;
margin-right: 1%;
margin-left: 1%;
}

#preface-wrapper.in3 .column {
width: 31.1%;
margin-right: 1%;
margin-left: 1%;
}
lucamanu’s picture

Status: Active » Closed (fixed)

Wow! It worked! Thanks a lot, I was really going crazy with that!
Great!

danpros’s picture

Glad I can help :)

Regards,
Dan

Anonymous’s picture

Category: feature » support

Hi 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.

Anonymous’s picture

Status: Closed (fixed) » Fixed

Never mind Dan. I figured it out. Sorry for the bother.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kaiminuemils’s picture

Version: 6.x-1.9 » 7.x-1.0-rc2
Component: User interface » Code
Assigned: lucamanu » kaiminuemils
Priority: Normal » Critical
Status: Closed (fixed) » Active

Hello.
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.