Jump to content

Archived

This topic is now archived and is closed to further replies.

compassl

Spacing Between Header And Template

Recommended Posts

compassl    1
compassl

There is spacing between the header and template and footer and template.  How do you make the header, template, and footer all look like they are in one div wapper?   I wanted to put a background image that starts at the header and ends in the footer..  This is different than the body background.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Can you provide a link that we may see the condition?


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
compassl    1
compassl

When you install dms there are three areas to drag and drop sections - The header , The Template, and The Footer.  Each of these areas is seperated by spacing.  If you put a menu in the header it does not butt up agains the template.  Im just saying it would be nice to have a layout where these three sections are in one wrapper so they are all touching.  I can see my body background image in between the three sections.    I tried leaving the header and footer empty and then putting a logo and menu at the top of the template area so there was not separation, but the configurations dont save in the template so each new page requires me to go back in and confirgure the menu again.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Can you provide a link as I am not sure what your issue is. If I add a background to the header, template and footer template areas, each background color is touching one another.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
studioc5 - That website isn't using a PageLines Product, therefore we are unable to provide support.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
studioc5    5
studioc5

Ok, I found that if you click edit on the section there is a padding option Set Area Padding.   So this answered my question.  But I think there is a bug, Since the section inside the template area has local options only and not global, you have to edit the padding for every new page you create. 

The padding is an inline style so if you want to overwrite it you must use

.pl-area-wrap {
    padding: 0 !important;
}

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

This is related to you having no background color, its currently trasnparent and then you have added an image to your pl-content area. If you want to have no gaps use the .boxed-wrap class instead of pl-content.

 

For example - http://d.pr/i/t7lp


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
studioc5    5
studioc5

When I use .boxed-wrap it covers the entire background.  Not just the inner content.

Share this post


Link to post
Share on other sites
Rob    547
Rob

That's normal.  One is the overall background and another is the content area background  Ultimately you can create background color or image behind the more global area, and other in the local area. image.  You'll end up with the effect desired.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
studioc5    5
studioc5

Im going to say that this is unresolved. Sorry Rob but I dont understand anything in your last post. 

What is the class to target to put a background in the content area ? .boxed-wrap is the main warpper so this is not what I need.

.pl-content worked for me to put a background behind the content but I was told that was wrong...

Share this post


Link to post
Share on other sites
Jake    74
Jake

Hi studioc5 - Let's try and get this sorted out. If I look at your original post I think I understand at least one of your desired results is to remove the gap the header. Can you try

 

#header, body .pl-area .pl-section {margin: 0px;}

 

and let us know how that goes?


Have you searched the forums yet or checked out the DMS user docs?

PageLines geek, blogging at MyUntangledLife.com

Share this post


Link to post
Share on other sites

×