Breadcrumbs at bottom of content [solved]

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
lowellg
Forum Members
Forum Members
Posts: 32
Joined: Wed Apr 06, 2011 2:03 pm

Breadcrumbs at bottom of content [solved]

Post by lowellg »

There are some breadcrumbs at the bottom of my page contents called "previous page" and "next page" and then on the right side "top." I'd like for these to be moved down a bit and to have some space between my page content and these tags.

In the Stylesheet "ShadowMenu Tab + 2 columns" I see

Code: Select all

{* Start relational links *}
{* note this is the right side, when you float: divs you need to have float: right; divs first *}
            <div class="right49">
              <p>{anchor anchor='main' text='^ Top'}</p>
            </div>
            <div class="left49">
              <p> {cms_selflink dir="previous" label="Previous page: "}
{* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}

              <br />
              {cms_selflink dir="next"}
              </p>
            </div>
{* End relational links *}
I cannot figure out how to add more space between my page content and these breadcrumbs. I'd like a couple of lines of space between them. Help much appreciated!
Last edited by lowellg on Wed Apr 20, 2011 9:22 am, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Breadcrumbs at bottom of content

Post by Nullig »

Increase the top margins for the .right49 and .left49 classes in your stylesheet.

Nullig
lowellg
Forum Members
Forum Members
Posts: 32
Joined: Wed Apr 06, 2011 2:03 pm

Re: Breadcrumbs at bottom of content

Post by lowellg »

Shoot I jumped the gun... I think it worked but then I tried to adjust it more and now no matter what margin I put in it's not changing. ???

Here's the code

Code: Select all

/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100%  might lead to rounding error on some browser */
	width: 70%;
        margin-top: 2em; 
}
div.right49 {
	width: 29%;
        float: right;
/* set right to keep text on right */
	text-align: right;
}
As you see I have the margin-top at 2em, but it's not changing when I change that number. What am I missing here?
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm

Re: Breadcrumbs at bottom of content

Post by M@rtijn »

A working link to the website
Make your community a better place!
lowellg
Forum Members
Forum Members
Posts: 32
Joined: Wed Apr 06, 2011 2:03 pm

Re: Breadcrumbs at bottom of content

Post by lowellg »

Alright. Well I just redirected my Domain Name so you may or may not be able to see my site now. Try it out: http://www.drfretgood.com
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm

Re: Breadcrumbs at bottom of content

Post by M@rtijn »

lowellg wrote:

Code: Select all

/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100%  might lead to rounding error on some browser */
	width: 70%;
        margin-top: 2em; 
}
div.right49 {
	width: 29%;
        float: right;
/* set right to keep text on right */
	text-align: right;
}
As you see I have the margin-top at 2em, but it's not changing when I change that number. What am I missing here?
When I change the top-margin on left 49 to 4 em or 5 em, the relational links (previous/next) move down without a problem. Same for right_49.

The css code used on the page is not the same as you've posted here above. (there are no comments in the css file attached to this page, either you removed the comments, or you've been looking at a wrong css file)

Search in your css for div.left49 and div.right49, they should look like this:

Code: Select all

div.left49 {
	width: 70%;
        margin-top: 2em
}
div.right49 {
	float: right;
	width: 29%;
	text-align: right;
        margin-top: 3em
}
Then change the top margin on both to a higher value, problem solved.
Make your community a better place!
lowellg
Forum Members
Forum Members
Posts: 32
Joined: Wed Apr 06, 2011 2:03 pm

Re: Breadcrumbs at bottom of content

Post by lowellg »

Thanks Martijn it's all fixed!
Post Reply

Return to “Layout and Design (CSS & HTML)”