• okpeery

    (@okpeery)


    I just upgraded to 2.5 and changed my theme. I wanted to make a bunch of custom pages that had the exact same look as the rest of the site but without the sidebar and having the text and images spread out across the whole page.

    I made the custom page ok but when I went to the custom page file to edit it, I just deleted the call to the sidebar. I thought that would just make it not display the side bar. Well now the footer won’t stay beneath the the content. It is floating to the right where the sidebar used to be.

    Any ideas on how to fix this?

    DO I need to make a custom css file just for this custom page? I can do the css file if I have to but how to I make it use that css file when the custom page is used?

    My main site is
    http://francetales.com
    the footer is on the bottom and it has a sidebar

    http://francetales.com/testing
    I deleted the sidebar but the footer is on the right now

    What do I do?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter okpeery

    (@okpeery)

    I figured a few things out.

    There is a div on the regular page called
    #page_content

    I copied all the css that included all the formatting and pasted it below where the #page_content was and then I went back and add a 1 after each instance of #page_content so it looks like this now

    #page_content1

    Then I went to the custom page I made in the theme editor and found after the first wrap div the next div was called #page_content so I just added the 1 after it so it reads now

    #page_content1

    I guess this means that when the custom page is served it looks for the css calls for #page_content1 in the stylesheet and therefore displays as I like it.

    I sure brushed up on my css though.

    One small problem still remains. Look at the bottom of the custom page. I no longer have rounded corners on the bottom. You can see where I’m guessing the images that make the corners are and then the main post area extends below it.

    It is really a small thing and I can certainly live with it like it is, but . . . . . .
    Any ideas how I can make the bottom of this custom page look exactly like the bottom of the other pages and posts?

    .bottom {
    	margin:0px auto;
    	padding-top:30px;
    	width:980px;
    	background:url(images/bottom.gif) center bottom no-repeat;
    	height:30px;
    	color:#17394b;
    	font-size:13px;
    	text-align:center;
    }

    I think this is the code that styles the footer but I don’t know what to do to bring the content back up so the images align in the corners to give the rounded look. I never like using images to get the rounded look and this is one more reason not to use them. Javascript works much better.

    moshu

    (@moshu)

    Don’t post about the same issue in 4 different places (topics). Keep it in one place!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom pages and deleting the sidebar’ is closed to new replies.