WordPress.org

Ready to get started?Download WordPress

Forums

Edit TwentyTen Blog Page (42 posts)

  1. Jam
    Member
    Posted 3 years ago #

    Hi! How can I edit my WordPress TwentyTen Blog page?

    http://bit.ly/ad9tgW

    1. I want to put a sentence at the top (not a sticky).
    2. How can I increase the margins / edit the side bar?
    3. How can I shift the sidebar up so that it is at the top of its column?'

    Thanks!

    I tried editing post.php, but I guess that only refers to an individual post page, not the blog page.

  2. govpatel
    Member
    Posted 3 years ago #

    How can I shift the sidebar up so that it is at the top of its column?'

    The reason your sidebars dropped to bottom is that you made the container to wide narrow it.

    #container {
    margin:0 auto;
    width:900px;

    I want to put a sentence at the top

    where about you want sentence

  3. Jam
    Member
    Posted 3 years ago #

    1. Making the width smaller worked, however it changed it for all pages. I want the width for all pages to by 900px wide (centered on the page), however only the blog to be narrower (so that the sidebar shows).

    2. I want it to be at the top of the blog page (as if it were a sticky, about that position). So about where the first post would be, however I don't want it to be in the post format.

  4. govpatel
    Member
    Posted 3 years ago #

    Use the template without sidebars for those pages there three templates in page attributes.

  5. Jam
    Member
    Posted 3 years ago #

    Where are you finding the three templates?

    I do not need to modify the normal page template, just the blog one.

  6. Walton
    Member
    Posted 3 years ago #

    Re: putting the sentence on the blog page, look at index.php. Anything you put between
    <div id="content" role="main">
    and

    <?php
    /* Run the loop to output the posts.

    Will show up before the posts but after the header. But formatted like your regular blog content.

  7. Jam
    Member
    Posted 3 years ago #

    Nice! It worked! Thanks!

    For my other questions,

    2. How can I increase the margins / edit the side bar?
    3. How can I shift the sidebar up so that it is at the top of its column?

    Looking at what govpatel said, where are the three templates?

    I do not need to modify the normal page template, just the blog one.

    Thanks!

  8. govpatel
    Member
    Posted 3 years ago #

    Click on pages and click on edit of the page you want to change

    on right there is Page Attribute box
    you must have default now click on drop down arrow and you will see the other 2 templates.

    As you only have Page Attribute for pages
    Instead of changing the code in style.css just use the templates without side bars for all other pages and your blog page will have the sidebar.

  9. Julscha1
    Member
    Posted 3 years ago #

    Hii, coud you send me instalation video becouse your description is a little bit complicated.
    Thanx!
    Julscha

  10. govpatel
    Member
    Posted 3 years ago #

    @Julscha1 First you need to start your own thread as I am getting confused on what video you looking for.

    I was helping @PiManIII with there problem.

  11. Jam
    Member
    Posted 3 years ago #

    1. How can I edit the side bar?
    2. How can I shift the sidebar up so that it is at the top of its column?

  12. govpatel
    Member
    Posted 3 years ago #

    I told you earlier to make your

    #container {
    margin:0 auto;
    width:900px;

    narrow that and you will see that your side bar come back to its normal place

    This your blog page

    now rest of pages edit them and use the the template without sidebar from page attribute

  13. Jam
    Member
    Posted 3 years ago #

    Ok, right now, all my pages are the one column-nosidebar.

    How can I fix that? I tried making the blog page the default then changing that, but it still shifted other pages.

  14. govpatel
    Member
    Posted 3 years ago #

    click on pages you will see the list pages click on edit
    on right you should have box Page Attribute in that there
    is Template and a drop down click it two more templates without side bars.

    You need to edit all pages you do not want sidebars.

  15. Jam
    Member
    Posted 3 years ago #

    All of my pages are without sidebars, including the blog page.

  16. govpatel
    Member
    Posted 3 years ago #

    including the blog page

    that can not be right as you have side bars that you are trying to move up that container is to wide that is why it pushing your sidebars down.

  17. Jam
    Member
    Posted 3 years ago #

    Ok, so I made it

    #container{
      width:700px;
      margin:0 auto;}

    But all of my pages are shifted.

  18. govpatel
    Member
    Posted 3 years ago #

    change this code to make other pages bigger

    .one-column #content {
    margin:0 auto;
    width:640px;
    }

    You need to recheck if you using one column no sidebar template for other pages.

  19. Jam
    Member
    Posted 3 years ago #

    All my pages are one column no sidebar except the blog page (this and that).

    I changed that value but that didnt help. It make the content space larger, but not shifted as it was before. (Let me know so I can change it back)

  20. Jam
    Member
    Posted 3 years ago #

    Ok, I will change it back now.

    That DID put the sidebar where I wanted it, but the rest of the website is shifted.

    I changed `.one-column #content {
    margin:0 auto;
    width:640px;
    }`

    But that only expaned the width, not shift it to the center of the page like before.

    How can I shift the content to the right (all but the blog page)?

  21. tranquilmoods
    Member
    Posted 3 years ago #

    Hi. Can I remove Proudly powered by WordPress, Install WordPress, and web hosting found in the footer of Twenty Ten Theme?

    Thanks

  22. govpatel
    Member
    Posted 3 years ago #

    @PiManIII have you tried using full width no sidebar template for the pages and see if that solves your problem.

  23. Jam
    Member
    Posted 3 years ago #

    What do you mean by

    full width no sidebar template
    ?

    Thanks

  24. govpatel
    Member
    Posted 3 years ago #

    @PiManIII Twenty ten has a template full width no side bars and if I remember right your theme is based with twenty ten theme as I have on mine .

  25. Jam
    Member
    Posted 3 years ago #

    Do you mean the default template?

    In each of my pages, I only have 2 options.
    1. Default template
    2. One column no sidebar

    And all of my pages are One column no sidebar, EXEPT the blog page, which is default template

  26. govpatel
    Member
    Posted 3 years ago #

    I am sorry I thought there was one in twenty ten theme I have on mine I think I made one I pasted it in pastebin get it from here

    http://www.wordpress.pastebin.com/uASZGDrb
    add it to theme as file
    fullwidth-page.php

    And add this in your style.css

    LAYOUT: Full Width, no sidebar :D
    ----------------------------------------*/
    .full-width .post, .full-width .type-page{
    	width: 940px;
    	overflow: hidden;
    }
  27. Jam
    Member
    Posted 3 years ago #

    Alright, done!

    Now I made all my pages under that template (except for the blog page)

    I changed the `#container{
    width:700px;
    margin:0 auto;}`

    But the pages are still shifted.

    What should I do?

  28. govpatel
    Member
    Posted 3 years ago #

    did you put the code above in style.css as I do not see it.

  29. Jam
    Member
    Posted 3 years ago #

    I did. It is right under the header code.

    /* This is the custom header image */
    #branding img {
    	border-top: 0px solid #000;
    	border-bottom: 0px solid #000;
    	clear: both;
    	display: block;
    
    }
    
    LAYOUT: Full Width, no sidebar :D
    ----------------------------------------*/
    .full-width .post, .full-width .type-page{
    	width: 940px;
    	overflow: hidden;
    }
  30. Jam
    Member
    Posted 3 years ago #

    But it is still shifted.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.