WordPress.com Theme: Twenty Eleven CSS Style Sheet Modification. Change Site Title,Description,Post Title,Comments,Menus,Sidebar and More.



Here I have tried to show you some basic but important modification of CSS style sheet of Twenty Eleven theme recently released by wordpress.com. It is new version of Duster theme with new name.
By modifying the css of your theme you can give your Default Twenty Eleven a new look and can make it outstanding…

Just paste the code in your style sheet and try.

You may Also Like the following CSS Modification to try

1. WordPress Twenty Ten Theme CSS Style Sheet modification.
2. WordPress Duster Theme CSS Style Sheet Modification.
3. WordPress Bueno Theme CSS Modification.
4. WordPress Freshy Theme CSS Modification
5. WordPress Mystique Theme CSS Style Sheet Modification.

1. If you want to Header Site Title Font color,font size, font type of your Twenty Eleven theme

#site-title a {
color: red;
font-family: times New Roman;
font-size: 30px;
font-weight: bold;
line-height: 36px;
text-decoration: none;
}

2. If you want to change the Site Title’s mouse over (hover) font color of Twenty Eleven

#site-title a:hover, #site-title a:focus, #site-title a:active {
color: #1982D1;
}

3. If you want to remove the Blank space from the upper side of the Site Title

#site-title {
margin-right: 270px;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
padding-top: 1.65625em;
}

4. If you want to remove the Blank space just from the footer side of Site Title of Twenty Eleven

#site-description {
color: #7A7A7A;
font-size: 14px;
margin-bottom: 1.65625em;
margin-left: 0;
margin-right: 270px;
margin-top: 0;
}

5. If you want to change the Site Description’s font color, font size and font family of theme twenty eleven

#site-description {
color: blue;
font-family: tahoma;
font-size: 14px;
margin-bottom: 1.65625em;
margin-left: 0;
margin-right: 270px;
margin-top: 0;
}

6. If you want to change the Height of Header Image of twenty eleven

#branding img {
height: 100px;
margin-bottom: -7px;
width: 100%;
}

7. If you don’t want to show the search from the top

#branding #searchform {
display: none;
position: absolute;
right: 7.6%;
text-align: right;
top: 3.8em;
}

8. If you want to change the background color of navigation Menu in Twenty Eleven theme

#access {
background-image: -moz-linear-gradient(#252525, red);
}

9. If you want to change the Post Title’s font color, font type and font size (In Homepage)

.entry-title, .entry-title a {
color: red;
font-family: tahoma;
font-size: 1.2em;
text-decoration: none;
}

// for individual blog post Try this one

.singular .entry-title {
color: #000000;
font-size: 36px;
font-weight: bold;
line-height: 48px;
}

10. If you want to change Blog Post Titl’e Hover font color

.entry-title a:hover, .entry-title a:focus, .entry-title a:active {
color: #1982D1;
}

11. If you don’t want to show “Posted On” or Blog Post date (entry meta)

It will also help you to hide the Footer side entry meta.

.entry-meta {
clear: both;
color: #666666;
display: none;
font-size: 12px;
line-height: 18px;
}

12. If you want to change blog Posts font color, size and font type.

.entry-content p {
font-family: times New Roman;
color: red;
font-size: 1.1em;
}

13. If you want to change Right SideBar widget Title’s font color, size and font type

.widget-title {
color: black;
font-family: times New Roman;
font-size: 18px;
font-weight: bold;
letter-spacing: 0.1em;
line-height: 2.6em;
text-transform: uppercase;
}

14. If you want to change right side bar widget’s Links color, font size,font type of Twenty Eleven

.widget a {
color: black;
font-family: times New Roman;
font-size: 14px;
font-weight: bold;
text-decoration: none;
}

15. If you want to add additional widget titles colored background in Theme twenty eleven

.widget-title {
background-color: gold;
color: black;
font-family: times New Roman;
font-size: 18px;
font-weight: bold;
letter-spacing: 0.1em;
line-height: 2.6em;
padding-left: 37px;
text-transform: uppercase;
}

16. If you want to change or Increase the width of Right Sidebar

#primary {
float: left;
margin-bottom: 0;
margin-left: 0;
margin-right: -26.4%;
margin-top: 0;
width: 90%;
}

#secondary {
float: right;
margin-right: 7.6%;
width: 24.8%;
}

17.If you dont want to show or dont want your user to comments in your blog

#comments {
display: none;
}

18.If you want to change the comments font color,size and font type

.comment-content p {
color: red;
font-family: times New Roman;
font-size: 16px;
}

19. If you want to change the font color of Navigation menu

#access a {
color: red;
display: block;
line-height: 3.333em;
padding-bottom: 0;
padding-left: 1.2125em;
padding-right: 1.2125em;
padding-top: 0;
text-decoration: none;
}

20. If you want to change the font size,font type of Comments Author Name and Date

.comment-meta {
font-size: 16px;
line-height: 2.2em;
}

21. If you don’t want to show footer side Tag in twenty eleven

.entry-meta {
clear: both;
color: #666666;
display: none;
font-size: 12px;
line-height: 18px;
}

22. If you want to change the body background color of twenty eleven

body {
background-color: red;

}

23. If you want to change HomePage Blog Posts summary background color

#page {
background-color: yellow;
}

24. If you want to change blog post Title’s Background color of Twenty Eleven

.entry-title, .entry-title a {
background-color: gray;
color: #222222;
text-decoration: none;
}

25. If you dont want to show Comments Bubble (Number of image) in the right side of Post Title

.entry-header .comments-link a {
display: none;
}

26.If you only want to change HomePage Blog Post’s Background Color

#content {
background-color: gold;
margin-bottom: 0;
margin-left: 7.6%;
margin-right: 34%;
margin-top: 0;
width: 58.4%;
}

27. If you want to remove the complete Header portion ( Site Title, Site Description and search box)

#branding hgroup {
display: none;
margin: 0 7.6%;
}

28. If you want to change the space between the Navigation Menu Of theme Twenty Eleven try the following CSS

#access a {
color: black;
display: block;
font-size: 14px;
line-height: 3.333em;
padding: 0 0.6em;
text-decoration: none;
}

29. If you want to reduce the padding between my pictures and text Of theme Twenty Eleven try the following CSS

p {
margin-bottom: 1.625em;
}

img.alignleft, img.alignright, img.aligncenter {
margin-bottom: 0;
}

30. If you want to align your blog post, site title and Navigation menu left aligned in Twenty Eleven THeme try the following CSS

#branding hgroup {
margin: 0 0.6%;
}
#access div {
margin: 0 0.6%;
}
#content {
margin: 0 34% 0 0.6%;
width: 58.4%;
}

31. If you want to add a border in the right side of blog post content in Twenty Eleven THeme try the following CSS

#content {
border-right: 1px dotted;
margin: 0 34% 0 0.6%;
padding-right: 11px;
width: 61.4%;
}

32. If you don’t want to show the bullet in the link of rightbar of Twenty Eleven THeme try the following CSS

.widget ul li {
color: #777777;
font-size: 13px;
list-style: none outside none;
}

33. If you want to show border after the widgets of rightbar of Twenty Eleven THeme try the following CSS

.widget {
border-bottom: 1px dotted grey;
clear: both;
padding: 15px 0 20px;
}

34. If you want to change the hover color of the Navigation Menu of Twenty Eleven THeme try the following CSS

Note : change the color code as your choice.and paste the code at the bottom of style.css of your main (parent theme)

#access li:hover > a,
#access a:focus {
background: #f9f9f9; /* Show a solid color for older browsers */
background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
background: -o-linear-gradient(#f9f9f9, #e5e5e5);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
color: #373737;
}

If this CSS Modification seems helpful to you? You can donate $1 to support me🙂

Please make some donations


Want me to help you personally for CSS Issue? You can hire me in fiverr ..


Click the Image below

1,503 Responses to WordPress.com Theme: Twenty Eleven CSS Style Sheet Modification. Change Site Title,Description,Post Title,Comments,Menus,Sidebar and More.

  1. bookgraphics says:

    As a newbie, I have questions. Do these alterations require an upgrade to “Custom Design”? If not, just where do I find the style sheet code and where do I paste the altering code? (SO, not a geek. But expert at desktop publishing, so if I could find the location of the style sheet I think I might be able to figure it out.) THANKS AGAIN.

    Like

    • As you are using wordpress.com self hosted free blog you have to purchase/ upgrade custom design…there you will get custom css… and you have to paste your code in custom css….

      Like

  2. richwoodward says:

    Hi,

    I’m having two problems, which I hope you can help with.

    One: How do I use the CSS custom design to turn the twenty eleven theme from a variable width to a fixed width layout?

    Two: Is there anyway to alter the spacing (or padding?) between the menu bar and the page title? If you go to my blog: http://carvingnature.wordpress.com/ you’ll see that there is a large gap between the menu and the “Hello” which I would ideally like to halve in size.

    Many many thanks in advance.

    Like

    • Hi,
      To change the width of twenty eleven theme using custom design you have to manipulate and use the CSS.

      and
      To change the gapping or spacing between the menu bar and page title you can try this code.

      .singular.page .hentry {
      padding-bottom: 0;
      padding-left: 0;
      padding-right: 0;
      padding-top: 0.5em;
      }

      Please let me know this code works for you or not..
      Regards

      Like

  3. Lou Gonzalez says:

    I have tried to change the nav menu color and nothing happens. I copy paste and enter the new color code, and nothing happens. Can you please tell me what i am doing wrong?

    Like

    • Hi Lou…
      Are you searchig for Navigation menu’s Background Color then try this code

      #access {
      -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
      background: -moz-linear-gradient(#252525, red) repeat scroll 0 0 transparent;
      clear: both;
      display: block;
      float: left;
      margin: 0 auto 6px;
      width: 100%;
      }

      Like

  4. Lou Gonzalez says:

    Thanks, what parts of the code do I need to change? I tired the hex and nothing happened. Is there another part i need to adjust, it just stays black

    Like

  5. vtobvi says:

    Great site! I’m hoping you can help with this one as I’ve been staring at my CSS for a while and haven’t figured it out. On my blog, I’m trying to reduce the padding between my pictures and text. For example, when I insert a picture while editing my post, I want the words to be twice as close to the picture as it currently is. I’ve tried playing around with padding and margins, but I haven’t found the right one yet! Any help is appreciated. Thanks, and you are now bookmarked!

    Like

    • Hi,
      To reduce the space below the pictures/images try the following code….. ( you can change the value for better adjustment.)

      p {
      margin-bottom: 0.1em;
      }

      img.alignleft, img.alignright, img.aligncenter {
      margin-bottom: 0;
      }

      Please Let me know it works for you or not.

      Like

      • Erin says:

        beautiful! it works! ended up with the follwing:

        p {
        margin-bottom: 1.625em;
        }

        img.alignleft, img.alignright, img.aligncenter {
        margin-bottom: 0;
        }

        thanks a ton!

        Like

      • Thats Great Erin….
        Feel free to comment if you need any help..

        Like

      • Ross says:

        Om, I applied this CSS, and indeed it did bring text underneath pics closer, as desired. However, it also seems to have reduced the spacing between paragraphs of text-only sections of all my posts. Is there a fix that will retain the current reduced spacing of text underneath pics, but will allow me to increase the spacing between paragraphs, please?

        Cheers
        Ross

        Like

  6. Lou Gonzalez says:

    Hi Allaboutbasic,

    I still can’t get the nav bar/menu to change. I can get the font to to change though. The color i want it is #21005F. I have change just “red” the hex code both. Tried other colors. Nothing changes the bar color. If I delete the “0 0” in “repeat scroll 0 0 transparent;” the bar becomes transparent.

    Also is there a way to not make the page stretch but keep a static size?

    Like

    • Hi Lou….try this code to change the color of Nav Menu background.. Pls let me know it works for you or not.

      /*******************For Twenty Eleven Nav menu Background color *****************************/
      #access {
      background: none repeat scroll 0 50% #21005F;
      clear: both;
      display: block;
      float: left;
      margin: 0 auto 6px;
      width: 100%;
      }

      /************* Theme Twenty Eleven Navigation Menu font color *****************/
      #access a {
      color: white;
      display: block;
      font-size: 16px;
      line-height: 3.333em;
      padding: 0 1.2125em;
      text-decoration: none;
      }

      Like

  7. Lou Gonzalez says:

    Worked, Thank u so much for the help and being really fast

    Like

  8. Erin says:

    I’ve got another one for you. I tried to remove the blank space above my header image. Here is what I’m currently using in my stylesheet.

    #title a:link,#title a:visited {
    display:block;
    height:100%;
    overflow:auto;
    font-size:48px;
    text-align:left;
    vertical-align:middle;
    }

    #access {
    background:0;
    -webkit-box-shadow:rgba(255,255,255,0.4) 0 1px 2px;
    -moz-box-shadow:rgba(0,0,0,0.4) 0 1px 2px;
    box-shadow:rgba(0,0,0,0.4) 0 1px 2px;
    clear:both;
    display:block;
    float:left;
    width:100%;
    margin:0 auto 6px;
    }

    Like

    • HI Erin..

      Nice to see you again…and..thanks to visit my blog and your comments…

      Would you mind to Try the following code and let me know it works for you or Not?

      #site-description {
      color: #7A7A7A;
      font-size: 14px;
      margin-bottom: 0;
      margin-left: 0;
      margin-right: 270px;
      margin-top: 0;
      }

      Regards
      Om

      Like

      • Erin says:

        Just tried it and unfortunately it didn’t work. Is their a natural padding on the header image or maybe the search bar is still leaving some padding?

        If you go to my site, you can see what it looks like now. It’s blank space is approximately half the size of when I use your code you just sent versus when I take the entire #site-description out.

        Any other clues?

        Like

      • Hi Erin..
        Sorry for the late in Reply.. due to internet problem your site was not loading properly in my side..
        Would you mind to try the following code and let me know it works for you or not..

        #site-title {
        margin-right: 270px;
        padding: 0;
        }

        Regards
        Om

        Like

      • fivel says:

        Hi Om.

        I’m working on resolving a similar issue and tried both methods you recommended to Erin. But neither worked for me. I’m simply trying to basically raise the whole site up by removing the blank space above the header, but cannot figure out how to do it. here’s my site: http://housedevil-streetangel.com/ Thanks very much!

        Like

      • Hi Fivel,

        *** If you want to remove the white space where “Search Box” is located try the following code..

        #branding hgroup {
        display: none;
        margin: 0 7.6%;
        }

        #branding #searchform {
        display: none;
        position: absolute;
        right: 7.6%;
        text-align: right;
        top: 3.8em;
        }

        Pls let me know it is Ok or not..

        Regards
        Om

        Like

      • fivel says:

        Well, it worked perfectly in one sense, but now the search box disappeared. I was hoping for more of a compromise. Would like to have a search box on top but not so much room on the top of the page.
        Thanks!

        Like

      • Hi Fivel

        Try the following code, it will return back to ur search bar

        #branding #searchform {
        display: block;
        margin-bottom: 14px;
        position: absolute;
        right: 7.6%;
        text-align: right;
        top: 0.8em;
        }

        Pls let me know it is Ok or not..

        Regards
        Om

        Like

  9. thegirl says:

    Hi There!

    I have a blog header that is 931×621 pixels. Obviously it doesn’t fit to the 1000×288 limit of Twenty Eleven. Is there a CSS code that will allow me to put up my custom header?

    You’re help would be greatly appreciated!!

    Thanks!

    Like

  10. thegirl says:

    Hi Om! You’ve been so helpful. Just two more questions:

    How do I remove the grey bar above my header?
    And how do I change the font in my navigation menu?

    Thank you SO much!

    Like

    • Hi Ally…

      To remove the Grey line above of your Header Image try the following code

      #branding {
      border-top: medium none;
      padding-bottom: 10px;
      position: relative;
      z-index: 2;
      }

      To change font of your navigation Menu try the following code

      #access a {
      color: red;
      display: block;
      font-family: times New Roman;
      font-size: 15px;
      line-height: 38px;
      padding: 0 10px;
      text-decoration: none;
      }

      Pls let me know it works or not…

      Like

      • thegirl says:

        They work! Thank you thank you! One last question, is there a way to put the search in the navigation bar?

        You have definitely helped me with CSS, I really appreciate it! A lot!

        Like

      • Hi Ally…..
        Not sure ( as i have not tested in other browsers) you can try the following code

        and pls let me know it works for you or not (pls check it in other browsers)

        #branding #searchform {
        background-color: white;
        display: block;
        margin-top: 235px;
        position: absolute;
        right: 7.6%;
        text-align: right;
        top: 3.8em;
        }

        Regards
        Om

        Like

      • thegirl says:

        It worked! Had to change the text align from 3.8 to 2.8 but other than that, perfect!

        Thanks again!

        Like

      • Great Ally….
        Let me know if you have any problem….

        Regards
        Om

        Like

      • thegirl says:

        For some reason though, it works but when I make the window larger or smaller the search box moves out of the nav menu.. is there a way to stop this?

        Like

      • Ally…in my firefox this problem is not occuring…which browser you are usiing?

        Would you mind to try this following code and let me know?

        #branding #searchform {
        background-color: white;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 238px;
        position: absolute;
        right: 7.6%;
        text-align: right;
        top: 3.8em;
        }

        Like

      • Graeme says:

        Hi,

        Could you please let me know exactly where I put the above code for removing the grey bar. I am trying to do it, but don’t know where to paste this code (even after reading your whole thread).

        Thanks for helping!

        Like

      • Hi Graeme

        Paste the following code at the bottom of your style.css or custom.css

        #branding {
        border-top: none;
        }

        Regards
        Om

        Like

  11. Can anyone tell me how to undo the automatic alphabetical ordering of the hover pages menu that says “Home”, “About Me”, etc? I’d like to order my pages in a row manually rather than automatically by the letter the page titles begin with.

    Thank you!

    Like

  12. xtianpeak says:

    Hi Om,
    How would I change the space between the menu items and what I mean is the space between “Home”, “About Me”, “Test Page”, “Testing” etc

    Regards,
    Cyril

    Like

    • HI Cyril….

      To change the space about the Menu Items try the following code

      #access a {
      color: black;
      display: block;
      font-size: 14px;
      line-height: 3.333em;
      padding: 0 0.6em;
      text-decoration: none;
      }

      Like

  13. xtianpeak says:

    Hi Om, that’s excellent. Works perfectly. Many thanks!

    Like

  14. kalanit says:

    Hi,

    How would I add a thin vertical line between the sidebar and the content as well as a horizontal line between each of the widgets on the sidebar? (Currently, I am using the layout with the sidebar on the right.)

    Thank you!

    Like

  15. Wow, your blog has been so incredibly helpful. I have a question for you:

    I would like for the navigation bar, site title and blog posts all to be aligned on the left. Is there any way to do this? Here’s a link to my site in case you’re needing it: alexandrajean.com

    Like

    • Hi,
      I think you are searching for this.. Please let me know it works or not…

      /***** To align your blog post, site title and Navigation menu left aligned in Twenty Eleven THeme **************/

      #access div {
      margin-bottom: 0;
      margin-left: 0.6%;
      margin-right: 7.6%;
      margin-top: 0;
      }

      #branding hgroup {
      margin-bottom: 0;
      margin-left: 0.6%;
      margin-right: 7.6%;
      margin-top: 0;
      }

      #content {
      margin-bottom: 0;
      margin-left: 0.6%;
      margin-right: 34%;
      margin-top: 0;
      width: 58.4%;
      }

      Regards
      Om

      Like

  16. aimee says:

    your information has been very helpful. Can I add a Link menu to the navigation bar? thank you Aimee

    Like

  17. xtianpeak says:

    Hi Om, what I’m trying to do now is this: on a just the 1st page, I want to remove as much space as possible between the menu navigation bar and when the content on my page starts.

    How can I make this happen?
    Regards,
    Cyril

    Like

  18. xtianpeak says:

    Hi Om,

    That worked, but it did if for every page and I only want to do on on a single page.

    Cyril

    Like

    • Hi Cyril…

      I have modified the code….try this and let me know it works or not…

      #post-468 {
      padding: 0;
      }
      #post-468 .entry-title {
      padding: 0;
      }

      Regards
      Om

      Like

      • xtianpeak says:

        Hi Om,

        No that didn’t work. Everything reverted to the way it was before. What does #post-468 related to and where did you get that identifier from. Just so you know, they are all pages and not posts. I don’t know if that makes any difference.

        Cyril

        Like

      • Hi Cyril
        Where have u pasted the code? Is my code still in your css?

        Like

  19. xtianpeak says:

    Hi Om,

    The code is still in my CSS but it’s on a dev server which has an identical site which was refreshed today. I can’t really play around with the live site as it’s waiting to be reviewed right now.

    I changed the permalink settings to numeric to get the post_id for each page. The page on the the dev server I’m using for the page I want to alter is

    http://localhost/xkmtest_site/wp-admin/post.php?post=374&action=edit

    Is that any help. I’ll understand if you say it’s too tricky to work with code you can’t be sure of.

    Cyril

    Like

    • Hi Cyril
      No..that code will not work in your localhost server as the post id will not be the same…and permalink change will not help u….

      My code will work when u will paste it in the Live hosting server , i.e in your live wordpress style sheet..

      Regards
      Om

      Like

    • xtianpeak says:

      Hi Om,

      I’ve put the code on the live site and it works as you said. Thank you very much for that.

      How do I get the post_id for the page I need to alter should I need to do it for another page?

      Regards,
      Cyril

      Like

  20. Hi,

    I think..In your main site http://thebitgen.com/ you already changed the headers and others….

    Regards
    Om

    Like

  21. I am trying to decrease the space between the navigation bar and the beginning of the content. I noticed the following code provided in an earlier post above, but I find that there still is more of a gap than I’d like:

    #main {
    clear: both;
    padding: 0 0 0;
    }

    Any other code to further decrease it?

    Thanks,
    Steve

    Like

    • Hi Steve
      Sorry for the late in reply…as it was midnight when you commented me…

      Also…
      Try the following code..

      .singular.page .hentry {
      padding-bottom: 0;
      padding-left: 0;
      padding-right: 0;
      padding-top: 0.5em;
      }

      Regards
      Om

      Like

  22. Hi Om,

    Thanks for the quick reply! I appreciate your helpfulness.

    Best wishes,
    Steve

    Like

  23. Hi Om,

    It eliminated the gap completely. It also affected the layout of the footer in an odd way. Any middle ground (smaller gap, still preserving the format of the title within the text area, not influencing the footer)?

    Best wishes,
    Steve

    Like

    • Hi Steve..
      Thanks for your reply…
      Would you mind to paste the code in your style sheet (at the bottom of style.css ) so that i can check?

      REgards
      Om

      Like

      • Hi Om,

        I’m glad that you explained that it should be at the bottom of style.css. I pasted it there and now the format is perfect! I put it in the wrong place at first underneath

        #main {
        clear: both;
        padding: 0 0 0;

        Thanks for the follow-up and clarification.

        Best wishes,
        Steve

        Like

      • Great Steve…

        Feel free to contact me if you need any help.

        Regards
        Om

        Like

  24. Hi Om,

    I have a different question for you. On my site, I wanted to have pages labelled using their slugs and was able to designate this successfully on the permalinks settings using the structure of /%pageslug% However, this messes up the URLs for blog posts. Any suggestions about how to keep the desired names for the pages, but have the blog postings work properly?

    Best wishes,
    Steve

    Like

  25. Jay Harris says:

    Hi there Om,

    thanks for a fantastic page, it is a great help! One question though…

    I removed all titles from my pages by writing {display:none;} at

    /* Headings */
    h1,h2,h3,h4,h5,h6 {
    clear: both;
    }

    This stopped all page titles but I want to keep my blog titles…. How would I keep these…?

    Many thanks!

    Jay

    Like

    • Hi Jay..
      Thanks for your comments
      Would you mind to share me your website address for check?

      Regards
      Om

      Like

      • Jay Harris says:

        Apologies Om, I thought I had included the site address.

        Here it is: http://0197f98.netsolhost.com/Jay/

        Many thanks!

        Like

      • HI Jay…..
        I have checked your site…

        Would you mind to clear me the problem again?

        You dont want to show “Page Title” but.. want to show “Post Title” is it?

        If yes..then you have to modify your php file to achieve this.

        Regards
        Om

        Like

      • Jay Harris says:

        Ah I see, I am using a child theme that only contains Style.css. Would the child theme facility still work with other such files?

        It would be great if you could advise me which file I would need to copy across and what the code needs to achieve getting rid of “Page Title” but keeping “Post Title”. Many thanks for your help, I’ll send a little contribution your way!

        Jay

        Like

      • Hi Jay…
        Sorry for the late in reply..just returned home…

        Umm..as you are using child theme….i think you may need to modify the page.php or single.php (not sure as i dont have the theme installed in my pc) Just you have to add html tag div to make the page different then post page and then implement CSS to remove the Title

        Regards
        Om

        Like

      • Jay Harris says:

        Hi Om, thanks again!

        Would I make the page.php/single.php file part of my child theme and change it there or change the parent file? Could you advise me on how to use the div tag?

        Like

      • Hi Jay…
        Not sure about child themes…. i need to check it ….. do u have skype?
        add me in skype. om2000_cuet is my id…

        let me see if i can help you or not..

        Regards
        Om

        Like

      • Jay Harris says:

        I’m afraid I’m at work at the moment and wont be available for another 4 or 5 hours. It isn’t urgent though so there is no rush and doesnt need to be sorted today. Email communication would be fine but it depends on what you prefer!

        Like

      • Ok Jay..
        No Problem….
        Try to add me when you will be free..

        after 4-5 hours it will be midnight here…

        Tomorrow will be fine..

        Regards
        Om

        Like

      • Jay Harris says:

        I think we may have the time-difference problem every day really… Maybe it can work over email? Feel free to email me at music@jay-harris.co.uk

        Like

      • Thanks for your reply Jay…..

        Like

  26. Hello Om,
    I got so much help from your article now I have few more questions and need your help.
    Firstly, I want to remove the gray area displayed around my blog http://newaboutindia.com if possible or either decrease the size of that gray area.
    Secondly, I want to increase the width of search bar.
    And moreover I want to display one google advertisement in the header so where I have to put that google code so that it will be displayed in right side of the header.
    And when I open any article then it is opened but not aligned properly. Can I align all to left.
    Yogesh
    http://newaboutindia.com

    Like


    • Hi Yogesh..
      If I understand your requirement perfectly…then try the following codes

      /*********** To reduce the grey bar space from the top ********************/

      #page {
      margin: 0 auto;
      max-width: 1000px;
      }
      body {
      padding-top: 5px;
      }

      /*********** To Increase the width of Search Form **************/

      #branding #s {
      float: right;
      width: 127px;
      }

      /************ To make your Individual post/page left align ***************/

      .singular #content, .left-sidebar.singular #content {
      margin: 0 0.6%;
      position: relative;
      width: auto;
      }

      #comments {
      float: left;
      width: 68.9%;
      }

      #respond {
      -moz-border-radius: 3px 3px 3px 3px;
      background: none repeat scroll 0 0 #DDDDDD;
      border: 1px solid #D3D3D3;
      float: left;
      margin: 0 auto 0.625em;
      padding: 1.625em;
      position: relative;
      width: 68.9%;
      }

      Like

  27. murk says:

    To move the header text onto the header image (I find this ugly, but couldn’t see a more elegant way)

    /* this stuff moves the image up */
    #access, #branding a img:first-child {
    top: -190px;
    position: relative;
    }

    /* this stuff keeps text on top */
    #branding hgroup { top: +50px; position:relative; z-index: +1;}

    /* this stuff changes text size for header, depresses description */
    /* and adds shadow so text legible whatever background (within reason) */
    #site-title span a {font-size: 55px;}
    #site-description {font-size: 25px;}
    #site-title a, #site-description {color: #fff; text-shadow: #003 1px 1px 5px;}

    /* Colours the search form and keeps it on top */
    #searchform {background-color: #ddd; z-index: +10;}

    #main {top: -185px; position: relative; z-index: +20;}

    Downside is that if the description (for example) is switched off, the things no longer line up. The z-index is to keep things clickable. Also, on load, things get pushed around. As I say, inelegant, but….

    I did have the header image with rounded corners and no white bar above, but I got rid of that in testing as the grey menu bar also got rounded (there is no class selector on the header image).

    Like

  28. Thanks Om
    It all worked except my individual posts left alligned. By the way it will be ok but I want one more help from you that I want to display one google add at the right side of the title newaboutindia.com, can I do that also.
    Thanks a lot
    Yogesh
    http://newaboutindia.com

    Like

  29. Johnny Stork says:


    Good day. First I want to thank you for posting these css tips. I have managed to resolve a few of my own issues but if its not too much trouble, I have a couple issues I am stuck with.

    1: I uploaded some images for the banner, then decided against them so deleted them from the uploaded images folder and although they no longer show up in the “Header” editing admin page, their buttons still do so now that I added new images to flip randomly, I also get blank headers. How can I completely remove any sign of previous header images uploaded but deleted?

    2: Any way to get rid of the “Featured” text on the home page for a sticky post?

    3: How can I reduce the spacing below the “” links to the post text? There is a huge white-space until the post text begins.

    4: For home page posts, each post title has a horizontal line above and below the title. Is there any way to reduce the spacing between those lines and the title text?

    5: This is my main problem. Tables with an image get messed up. Each post begins with a small 3 column table with the left-most cells all merged for the image. But the text/table gets shifted below the image in the post, although it looks fine in the editor?

    I know I am asking alot, and you are likely very busy. But any help you can provide would be wonderful and I would certainly “buy you a coffee” many!

    Like

  30. Spinch says:

    Om, here’s an odd question…

    Is there an easy way to swap the position of the header image and the title text in Twenty Eleven? I’d love to have the header image on top and the title underneath (and better yet, if I could have the blog description/tagline on the same line as the blog title…)

    Thank you so much for your input. (And for the record, my website is http://killitwithfire.org).

    Like

  31. birdsnest says:

    very nice but I miss something.. how do I replace the site title and description for a logo?

    Like


    • Hi Bird
      Would you mind to share me your website address?

      Regards
      Om

      Like


      • Hi Bird
        Try the following code to replace your Header Title with Logo
        **If you don’t want to show description just remove it from “Settings –>General” ..but dont remove the Site Title text

        #site-title {
        background-image: url(“http://freesmsinfo.files.wordpress.com/2011/06/cedross.png”);
        background-repeat: no-repeat;
        margin-right: 184px;
        padding: 3.65625em 0 0;
        }

        #site-title a {
        color: transparent;
        font-size: 30px;
        font-weight: bold;
        line-height: 36px;
        text-decoration: none;
        }

        Like

      • birdsnest says:

        Hi allaboutbasic,

        first of all thx for helpiong me out here. I’ve tried the code but it does not work. The title is gone when I use that code and when I move my mouse over the title it appears but there is no image visible. I’ve just upgrated twenty eleven to version 1.2 and wordpress to 3.2.1 NL_nl. what should I do now?😦

        thx in advance!

        Like

      • Hi Bird..
        Have u pasted the code at the bottom of your style.css?

        Please paste the code again and let me check the problem..

        Please inform me when u again pasted the code..

        Regards
        Om

        Like

      • birdsnest says:

        ok pasted..

        please note: the logo I want to use is 100px width, 110px high located @ http://www.bankrasbadjes.nl/logo.jpg

        Like

      • Hi Bird
        The Code you pasted there was an error in the URL

        Here is the code… paste the code as same as below

        #site-title {
        background-image: url(“http://www.bankrasbadjes.nl/logo.jpg”);
        background-repeat: no-repeat;
        margin-right: 184px;
        padding: 3.65625em 0 0;
        }

        FOr Mouse Over Site Title

        go to line 456 of your style.css and find out the following

        #site-title a:hover, #site-title a:focus, #site-title a:active {
        color: #1982D1;
        }

        now make the color “transparent” instead of “#1982D1”

        If you have any problem pls let me know..

        Regards
        Om

        Like

      • birdsnest says:

        I did everything exactly the way you said but still it wont work, sorry for the trouble mate but I can’t figure it out myself😦 do you want a admin account or have any good tips further for me?

        Like

      • Hi BIrd..
        Try to add me in skype..
        om2000_cuet is my skype id

        Regards
        Om

        Like

      • birdsnest says:

        thx all fixed now thx to skype support by you, great work thx mate!😀

        Like

      • Hi Bird…
        Thanks for your coffee too…it was really cool…

        Om

        Like

    • Host says:

      That’s the biggest one lol

      Like


  32. I have removed the H1 which appears between the top menu and the pages content. There still remains to be a large blank space between the menu and content though, and I can’t figure out how to remove or reduce it.

    Any help much appreciated, I am working just by editing style.css or the php files directly.

    Like

  33. Thanks very much, it has made it a bit better. How do I make it even less of a gap though? I have tried playing about adding more or less to the 0.5em, but I can’t get the gap any smaller…

    Like

    • Hi Tom….

      also try this following code

      #main {
      clear: both;
      padding-bottom: 0;
      padding-left: 0;
      padding-right: 0;
      padding-top: 0;
      }

      and let me know it works for you or not..

      Regards
      Om

      Like

      • Thats it, yes!

        Thank you so much Om! You are great, and your blog is super! 🙂

        Like

      • NIce to hear tom….

        **********let me buys a coffee ****************** 🙂

        haha..

        Like

      • Enjoy the coffee Om! 🙂

        Like

      • Great..
        Thanks for the Coffee Tom…. 🙂

        Like

      • Johnny Stork says:

        I also tried this in my style.css for a child theme importing 2011, but it did not make a difference to the spacing below the navigation bar and the post titles.

        .singular.page .hentry {
        padding: 0.5em 0 0;
        }

        #main {
        clear: both;
        padding-bottom: 0;
        padding-left: 0;

        Like

      • Hi Johnny….
        try the following css code…. paste the code at the bottom of your style.css and let me know it works for you or not…

        /************** To Reduce the upper and lower gap of Continue Reading ***********/
        .entry-content p {
        margin-bottom: 8px;
        }

        #_mcePaste {
        margin-top: -18px;
        margin-bottom: -16px;
        }

        /********** To Reduce the space between Nav menu and Post Title ********************/

        #content nav {
        clear: both;
        overflow: hidden;
        padding: 0;
        }

        /********** Spacing between Post Title and the Horizontal Line in Home page **************/

        .hentry, .no-results {
        border-bottom: 1px solid #DDDDDD;
        margin: 0 0 0.625em;
        padding: 0 0 1.625em;
        position: relative;
        }

        .entry-content, .entry-summary {
        padding: 0.625em 0 0;
        }

        Regards
        Om

        Like

  34. Dave says:

    Fantastic Post!

    How about how to remove the border around images in posts or pages?
    I learned more about WordPress themes in the past 2 hours than in the past 2 years…lol
    Thank you

    Like

    • Hi Dave…
      Don’t mind..i didn’t see any border around your website bcrestaurant.org…

      Also, you are not using twenty eleven theme…

      Regards
      Om

      Like

      • dave says:

        Sorry, not that page… here is a demo of an image on 2011 http://eltacowhiterock.bcrestaurant.mobi/dailydeal/

        How would you remove border and spacing?
        Thanks

        Like

      • Hi Dave…
        Would you mind to try the following codes and let me know it works for you or not?

        /******************Put this code at the bottom of dark.css (/wp-content/themes/twentyeleven/colors/dark.css)**************/

        img[class*=”wp-image-“], #content .gallery .gallery-icon img {
        border:none;
        }

        /************put these codes at the bottom of your style.css *************
        .entry-content {
        padding: 0px;
        }
        #main {
        clear: both;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0.625em;
        }

        Regards
        Om

        Like

      • Dave says:

        Hi Om

        Sorry but that one didn’t work. I am using a child theme so I added the code to my child css and dark.css in the main theme. I them tried adding a color folder with dark.css in it to the child theme…neither worked.

        Any other ideas WordPress Wizard?🙂

        Like

      • Hi Dave..
        For Child theme I need to check it more… so if you want then you can add me in my skype. om2000_cuet is my id..

        Regards
        Om

        Like

      • Dave says:

        Hi OM
        I have too many themes I was working on at once so I was trying it on the wrong one lol. It worked perfectly, Thank You!

        Like

      • Thats Great Dave…
        Cheers..🙂

        Om

        Like

  35. Linda JOhansson says:

    Hi, thank you so much for taking time to write this css modification info! I would like to have my logo ‘centered’… But it seems like there is a box at the right side were the search box used to be in, that is messing it up. Do you know how i can remove it?

    Thank you

    Linda Johansson

    Like

  36. Daniel says:

    Awesome article. Helped me a lot (since I’m illiterate in css/php).

    Like

  37. Wachgellen says:

    Thanks, this was helpful!

    Like

  38. Sorry om, I am pestering you again with a further problem…!

    I can’t get the ‘Leave a reply’ comment box to dissapear go away, I have tried doing this via the discussion checkbox in the admin backend, but still it remains, is there some code I can change for this?

    Many Thanks in advance!

    Tom

    Like

    • Hi Tom…
      If you want to delete / hide Leave a Reply only from “Pages” then use a plugin “No comments on pages”. it will delete/hide comments section Only from “Pages” not from “Posts”…..

      I think you are searching for this type of plugins..
      Please let me know..

      Regards
      Om

      Like

  39. Johnny Stork says:

    Thanks kindly “allaboutbasic” that worked! Any chance you know how to get rid of the “Featured” text about the sticky post on the home page?

    Like

    • Hi Johnny

      Try the following code and let me know it works for you or not… ( don’t forget about the coffee 🙂 )

      .entry-header .entry-format {
      color: #666666;
      display: none;
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.1em;
      line-height: 2.6em;
      position: absolute;
      text-transform: uppercase;
      top: -5px;
      }

      Regards
      Om

      Like

      • Johnny Stork says:

        FABULOUS Om! That did the trick! Thank you again for all your help, you have been incredible and solved nearly all my css issues. My cards are full right now but I will send you something when I have some room🙂

        Thanks again and have a great day!

        Like

      • Thats Great Johnny..🙂

        Waitin for your coffee.. haha..

        Let me know if you have any problem.

        Regards
        Om

        Like

  40. Matt says:

    Thank you so much for this guide. Its been a huge help for a WordPress neewbie.

    Are you able to help with getting featured images to show as post thumbnails? I’m having a world of trouble getting it to work in this site http://www.rachaellynch.com.au/blog/

    Thanks.

    Like

  41. Thanks so much Om! 🙂

    Like

  42. Hanna says:

    Hi,

    Thanks for this awesome guide!!

    Could you please help me customize the comments and leave a reply-form?
    I’d like to:
    – narrow the space between the name, email, website and comment boxes in the leave a reply-form
    – translate all the original text included in the comments area and leave a reply-form into another language

    I can’t publish the site name here but can send it by email if necessary!
    Thank you SO MUCH in advance!

    Like

  43. eddie says:

    hello, how can I expand the widget right sidebar to 300px ?

    Like

  44. Guy Scharf says:

    Thank you for your wonderful help! I’ve changed navigation bar font, size, and made it black on white (instead of the default white on black). How can I now:

    a) Eliminate the grey line below the navigation bar?
    b) When the mouse moves over menu items, the items are in a gray box. I’d rather change the font color when mousing over a menu item.
    c) Center the navigation menu?
    d) Increase the spacing between items on the navigation menu?

    Thank you!

    Like

    • Hi Scharf
      Would you mind to share me your website address for checking?

      Regards
      Om

      Like

      • Hi Scharf

        Would you mind to try the following CSS codes and let me know it works for you or not ?🙂

        To Eliminate the grey line below the navigation bar

        #access {
        -moz-box-shadow: none;

        }

        /****** On Mouse Over not to change the Background Color but to change the Text Color****************/

        #access li:hover > a, #access ul ul :hover > a, #access a:focus {
        background: none;
        color: red;
        }

        /********* TO make the Navigation Menu Center ***********/

        #access ul {
        font-size: 13px;
        list-style-image: none;
        list-style-position: outside;
        list-style-type: none;
        margin-bottom: 0;
        margin-left: 6.8125em;
        margin-right: 0;
        margin-top: 0;
        padding-left: 0;
        width: 900px;
        }

        /********** To increase the spacing between Navigation Menu Items ****************/

        #access a {
        color: black;
        display: block;
        font-family: times New Roman;
        font-size: 18px;
        line-height: 38px;
        padding-bottom: 0;
        padding-left: 31px;
        padding-right: 31px;
        padding-top: 0;
        text-decoration: none;
        }

        ***Don’t forget to buy me a coffee if all of them works..🙂
        Regards
        Om

        Like

      • Guy Scharf says:

        All worked excellently — thank you.

        I have a question that is probably a general CSS question. There are a lot of definitions in style.css that set a background color. Is there a way I can create my own color name (e.g., my-color #060708) and then use “my-color” in all the places that set a background color? Then if I want to change the color (and I’m sure I will), I would have to do it in only one place. That would let me make the page more seamless with less work.

        Like

      • Hi Scharf….

        Thats Great🙂

        Would you mind to add me in skype? om2000_cuet is my id….
        It would better we chat live…

        Regards
        Om

        Like

      • Guy Scharf says:

        Sorry, I am not using Skype on this machine. I did some Google searches for css constants and discovered they don’t exist natively and the work-arounds have consequences. I’ll just pass on this question for now.

        Like

      • Hi Scharf…

        Yes right.. CSS doesn’t provide that functionality…

        IF you are happy..let me buy a coffee..🙂

        Regards

        Like

  45. Hi,
    Any ideas how to add a border to the left and right of the entire page? Similar to if the whole thing were contained it a wrapper…it doesn’t seem to be though…

    Like

  46. cirex says:

    Hi,

    Is it possible to add a drop shadow in a whole page?

    Like

  47. albwaa says:

    Hi,

    I’d like to make my header a flash header. Is it possible to get it in there as a work around in the twenty eleven theme?? my account is a wordpress.com
    http://www.lawrencegreen.com.au

    Like

  48. K Worthy says:

    My web site isn’t up yet; I’m still setting it up.

    The postings start with this:
    By Joe on 05/5/2011

    And I want to have them read like this, with categories and the number of comments.

    By Joe on 05/5/2011 in cat1, cat2 with 2 Comments

    Is that possible?

    Thanks

    Like

  49. K Worthy says:

    OK, now I have the site online and you can check it here:
    kennethworthy.net

    I’m still looking to get rid of the comment bubble (method posted above didn’t work), and to give a more complete posting line like this:
    By Joe on 05/5/2011 in cat1, cat2 with 2 Comments

    Like

  50. K Worthy says:

    I’ve found the solution to remove the comment bubble:

    /* Get rid of comment bubble. */
    .entry-header .comments-link {display: none;}

    And, to remove the “Proudly powered…” (Actually, I wouldn’t mind just removing the Proudly.)
    /* Remove the “Proudly powered by WordPress” */
    #site-generator {display: none;}

    Put those in the style.css of your child theme.

    I still need help with the “By Joe…” at the beginning of posts.
    thanks,
    Ken

    Like

    • Kenneth,
      I have seen your site in my laptop and found your full website is fully aligned to the left….. please check it….
      *** For php files modification…. actually for this you better add me in skype (om2000_cuet) is my id.

      Regards
      Om

      Like

    • K Worthy says:

      Wondering why I keep receiving e-mails from postings here. How to turn it off??

      Like

      • 😦

        Dont know Kenneth…

        Like

      • lenfarneth says:

        Here is a stupid question. I have been trying to figure out for about two hours now how to get rid of the white space above and below the title on public page every page using the 2011 stock template. This page is the closest I have found to help. Now for that stupid question…. Which of the 110 files that end in .css do I need to modify?

        Like

      • Hi Lenfarneth

        Would you mind to share me your website URL to check?

        Regards
        Om

        Like

    • Bryan says:

      Ken, thanks, this was one of the items I wanted to change today, you just saved me hour or two searching. Mucho appreciated mate.

      Cheers

      Like

  51. Robin says:

    Hi,
    When my website is viewed on iPhone browser the search bar overlaps the header title and “each word” in the menu breaks into its own row.

    I already installed the wp-touch pluging, but I wanted to have the “normal” version look clean for those who don’t like to use the mobile version.

    Any toughts?

    http://www.missionsbox.org

    …..about 3 hours later…
    Finally, check out this link for a really easy solution.

    http://wordpress.org/support/topic/turning-off-mobile-support-for-twenty-eleven

    Like

  52. Beverly says:

    Hello, I would like to know if there is a way to add widgets to the “post” pages. The only navigation available on those pages are the “previous” and “next” links.

    Thanks

    PS. Your site is very helpful, and I will buy you a coffee.

    Like

    • Hi Beverly..
      I think you are asking for “Pagination” in wordpress….for example “Page : 1,2,3,4,” such pagination in the footer side… am i right?

      If yes…. then have you tried WordPress Pagination Plugins?

      Regards
      Om

      Like

  53. zero says:

    Hi there, can you tell me where should i adjust so that my top height fit fully to top screen.

    zerohentai.com

    Thanks for your help

    Like

  54. anna says:

    hi I would really appreciate some help I have a gap between the header image and navigation in IE but not firefox

    http://www.annas.hcprojects.co.uk

    Thank-you for an excellent forum🙂

    Like

  55. anna says:

    It would be very grateful if you could help – when you hover over a menu item the hover area is really big I would like it to be the same height as the menu bar. If you have time some advice would be great. Thank-you again for an excellent forum.

    Like

    • Hi Anna,

      WOuld you mind to try this code

      #access a {
      color: #EEEEEE;
      display: block;
      line-height: 3.333em;
      margin-top: 8px;
      padding-bottom: 0;
      padding-left: 1.2125em;
      padding-right: 1.2125em;
      padding-top: 0;
      text-decoration: none;
      }

      Please let me know it is Ok for you or not..

      Regards
      Om

      Like

      • anna says:

        Hello, ty for getting back to me🙂 the code soes work although looks a little different in ie9 a massive improvement though ty🙂

        Like

      • Hi Anna…

        Nice to hear that my codes works for you…..

        Is there any way i could do any thesis or project under your direct supervision 🙂

        Regards
        Om

        Like

  56. victoria says:

    Hi! Thank you for all of your info and editing help already listed here.

    I do have a question that I would love some help with. (I am just starting my site and have no actual posts yet). http://foreverfashionablylate.com/2011/07/14/hello-world/

    I have been trying to edit the size and entire look of the comment form but I cannot find where to do so. It is too huge and ugly and I would love a very simple form, like the original wordpress default. (Just plain black and white, no huge space between lines, but with the comment box listed before the reader’s information).

    I have been trying to find where to even start editing this and it is very confusing. I cannot find the comment form information anywhere in the parent theme’s comments.php or functions.php.

    Do you have any idea how to do this?

    I’d really appreciate any help! Thank you!!

    Victoria

    Like

    • Hi Victoria…
      I think you are searching for this

      #respond p {
      line-height: 14px;
      margin-bottom: -17px;
      margin-left: 0;
      margin-right: 0;
      margin-top: 0;
      }

      paste the code at the bottom of style.css (Appearance–>Editor) and let me know it works for you or not..

      Regards
      Om

      Like

  57. victoria says:

    Hi Om!

    Thanks for your quick response. Unfortunately nothing changed when I added this to the bottom of my child theme style sheet… any suggestions?

    Thanks again!

    Like

  58. Ross says:

    Om, the white post area is no longer an issue. Please disregard this second question. I now only need to know about the nav button hover colour, if you would be so kind.

    Cheers!
    Ross

    Like

    • Hi Ross..
      Sorry for the late in reply as u commented me in my midnight time 🙂 …

      One question..are u using Child theme of twenty eleven?

      Regards
      Om

      Like

    • Hi Ross…

      Try the following code . (paste this code at the bottom of your style.css ) if you are using child theme then paste this code at the bottom of your parent theme’s style.css bottom.

      **** You have to change the color code as your wish.. 🙂 Please let me know it works for you or not.

      #access li:hover > a,
      #access a:focus {
      background: #f9f9f9; /* Show a solid color for older browsers */
      background: -moz-linear-gradient(#f9f9f9, #333333);
      background: -o-linear-gradient(#f9f9f9, #e5e5e5);
      background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#333333)); /* Older webkit syntax */
      background: -webkit-linear-gradient(#f9f9f9, #333333);
      color: #373737;
      }

      Regards
      Om

      Like

      • Ross says:

        Hi Om

        How dare you be asleep at midnight instead of sitting permanently at your screen to help ignoramuses like me within minutes of posting!🙂

        Yes – I am using a child theme, and yes, your solution worked! Thank you!

        Just a couple of questions, though, please. I’m not sure how to change the colour properly, because I don’t know what pats of the code refer to gradient colour and what to just making a plain hover colour. I messed around blindly and changed the code as follows:

        #access li:hover > a,
        #access a:focus {
        background: #FF8C00; /* Show a solid color for older browsers */
        background: -moz-linear-gradient(#f9f9f9, ##FF8C00);
        background: -o-linear-gradient(#f9f9f9, ##FF8C00);
        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#333333)); /* Older webkit syntax */
        background: -webkit-linear-gradient(#f9f9f9, #333333);
        color: #373737;
        }

        Seems to have worked OK to make a plain orange hover colour, but have I messed anything up with my random changes!??

        My other question: Is it possible to make this change to only the style sheet of the child theme, rather than interfering with the parent theme? I thought the point of having a child theme was to leave the parent in its original state as a solid reference in case I stuff something up badly with the child theme, and to ensure customisations are not affected if the parent theme is upgraded or changed in the future?

        Cheers!
        Ross

        Like

      • HI Ross….

        this code will help you to achieve gradient effect……

        *** FIrst color code is Starting Color (Gradient Start)
        *** Second color code is the End Color (Where Gradient will end)

        So, if you want to show your color Whitish orage Gradient.. Just select white color for the first code..and orange color for the second code..
        🙂

        Regards
        Om

        Like

      • Ross….

        Don’t worry about you will mess something or not…. that are simple css….

        But if you afraid…then take backup of your working style.css and do the necessary changes……

        MoreOver… I am here 🙂 no need to be worried..

        Regards
        Om

        Like

      • Ross says:

        Haha – good to know you’re always there, Om. I suppose we can allow you to sleep a little in between answering our queries.

        Just one thing: is it necessary to modify the parent CSS if I want to make changes to a child theme? Could I just make the additions you recommend to the child theme CSS and leave the parent theme CSS unchanged?

        Cheers!
        Ross

        Like

      • HI Ross…..

        Yes.. Try the code in your child theme first….if it doesn’t work then put it in the parent theme….

        If you face problem let me know.. om2000_cuet is my skype id.

        Regards
        Om

        Like

      • Ross says:

        Om,

        Just to let u know, I took the code off my parent style sheet and pasted it into my child theme style sheet – and it worked! Thanks again.

        Cheers
        Ross

        Like

      • Hi Ross…
        WOuld you mind to try the following code seperately and check which one suits you?

        .entry-content p {
        margin-bottom: 10px;
        }

        .entry-content br {
        margin-top: 5px;
        }

        Please let me know they works for you or not..

        Regards
        Om

        Like

      • Ross says:

        Om, I’m not sure what the following code refers to. Is this related to my question up the page about the css code reducing spacing of text under paras also affecting para spacing in text-only sections?

        .entry-content p {
        margin-bottom: 10px;
        }

        .entry-content br {
        margin-top: 5px;
        }

        If so, whatever the problem was with para spacing seems to have sorted itself out – dunno why or how, but it does! And the spacing of text under pics is also as I want it.

        But maybe the above 2 code entries refer to something else? (As you can see, I do not understand CSS at all).

        Could u pls clarify?

        Cheers
        Ross

        Like

      • HI Ross…
        Bot of the code I have given will increase the gap between the paragraph…but will not effect the text at the bottom of the images.

        You can increase the values which i have used to meet your need.

        You can use both or any of them depending your requirements…

        Please let me know if you have any problem in understanding..
        🙂

        Regards
        Om

        Like

  59. lenfarneth says:

    Hi I found it. Thanks this page is great. I am testing here http://lenfarneth.com/blogs/mg/ final deployment will be here http://floriblog.com/ Btw is there a way I can replace the wp search box in the header with my google adsearch?

    Like

    • Hi Lenfarneth..

      Yes..you can replace…. i think if you go to header.php there you have to do the canges…but..if u dont have the basic of php and html it may breaks ur layout.
      So take backup first…

      Regards
      Om

      Like

  60. lenfarneth says:

    Hi I found it! The website is http://floriblog.com/ Now is there a way I can modify the size of the space above the title box area? Also how can I replace the wordpress search box with my google box. Many thanks. Coffee is brewing right now😉

    Like

    • Hi Lenfarneth..
      Yes..I like the coffee..🙂

      to remove the white space above the title box use the following code

      #page {
      margin-bottom: 2em;
      margin-left: auto;
      margin-right: auto;
      margin-top: 0;
      max-width: 1000px;
      }

      and..to replace the wordpress search box with your google box you have to modify the header.php ( i think) ….
      would u mind to share me the code in my mail? om2000_cuet@yahoo.com is my mail id..
      I will check it and let u know..

      regards
      Om

      Like

  61. Johnny Stork says:

    Hello again. Hopefully you got the “coffee” payment I just sent. Anyway, I have just started another site with the 2011 theme and all the same customization’s you helped me with before. Seems like I have two issues right now and thought you might be able to help.

    1: On the first site (www.philosopherscafe.ca), I had to find some table css code to clean up the table entries I use on the posts. They look fine except in Chrome where the images are squished up against the text. This does not happen under IE or FF. The table code I used in the style.css is below.

    2: On the new site (www.strata101.ca), the menu links to two pages I created (Resources & Contact Us), do not show up when I go to any posting? They do remain in place if I go to other pages. If I switch back to the stock 2011 theme it works fine so this made me think its something in the customized style.css. My customization’s are long now so I wont post them all unless you need to see them all.

    Thanks kindly for any help you can provide.🙂

    /* Tables */

    table {
    padding: 0;
    margin: 2px 15px 12px 15px;
    border: 0;
    }

    table caption {
    color: #444;
    background: #ddd;
    padding: 5px 8px;
    font-family: arial, tahoma, verdana, helvetica, sans-serif;
    font-size: 17px;
    line-height: 10px;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid #fff;
    }

    table thead tr th, table tr th {
    text-align: left;
    padding: 2px 4px;
    color: #777;
    background: #e7e7e7;
    }

    table tbody tr td, table tr td {
    padding: 3px 4px;
    color: #666;
    font-family: arial, tahoma, verdana, helvetica, sans-serif;
    font-size: 14px;
    line-height: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #e7e7e7;
    }

    table tfoot tr td {
    color: #888;
    font-size: 11px;
    padding: 2px 4px;
    }

    .singular.page .hentry {
    padding: 0.5em 0 0;
    }

    #main {
    clear: both;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    }

    Like

    • HI Johnny….
      Great…I got the coffee payment 🙂 thanks again……

      For your first problem…if i understood right..u r asking for this

      .entry-content td, .comment-content td {
      padding-right: 35px;
      }

      I am downloading chrome right now..I will check it more to get better idea about your problem..

      Problem 2 :

      When i go to any of your post or page the menu items Resources & Contact Us remains in their place ..i didn’t get any problem…
      Umm.. would u mind to clear me the problem ?

      Like

      • Johnny Stork says:

        Thanks kindly allaboutbasic! Your suggestion for problem #1 worked and now the site looks ok in Chrome as well. Tables are lined up fine.

        Looks like problem #2 was a mistake. Forgot about WP Cache running and so its fine now. All the links to pages show up properly.

        Thanks again for all your help! Great job!

        ps: I am not getting notices when I check the box to be notified of updates. Might be stuck in one of the three server-based spam tools I use.🙂

        Like

      • Hi Johnny…..
        Nice to know my solution works for your…..

        Please let me know if you have any problem🙂

        Regards
        Om

        Like

  62. Ray says:

    Hi,
    Also a noob/dumb query here. Im trying to integrate my blog into my site and i think i’ve come close. i cant seem to make the backgrounds transparent😦

    I’ve tried your suggestions up top (also by changing the colors to something like bright red so i can see changes) but no luck.

    any tips?
    http://www.stuffraymakes.com/rayblogs/

    Like

  63. Luiz Ferraz says:

    Hello Om!

    Hope you enjoyed the coffee…

    Like

  64. Rungplaifa says:

    Thank you very much for your kind info. This article help me alot to modify this theme.

    Like

  65. Bryan says:

    Great blog and very helpful indeed. I have one goal at the moment, to change the font and size of the Header on the top left. It’s my personal blog (evolving) and I would like to use a Hand written type font. Do i need to create a child theme? And, if i need to change style.css, where in the file do i put the mods. I have installed a couple new fonts that i like. The site is http://www.bryanmillhouse.com

    Like

    • Hi Bryan…
      Paste the following code at the bottom of style.css (“Appearance–>Editor) and let me know it works for you or not.

      #site-title a {
      color: #111111;
      font-family: Georgia,”Times New Roman”,Times,serif;
      font-size: 26px;
      font-style: italic;
      font-weight: bold;
      line-height: 36px;
      text-decoration: none;
      }

      Regards
      Om

      Like

      • Bryan says:

        Yep! worked great. Ok, so now, i’d like to use a handwritten font, i installed a plugin that allows font upload, but when i used the plugin, it changes all the H1, H2, H3 etc, thats not what i want. So should i replace the “times new roman” with the name of preferred font, and, where do i find that exact name.

        Like

      • Hi Bryan..
        Yes..you can try…. and let me know it works for u or not..

        REgards
        Om

        Like

  66. Ray says:

    Hi Om
    Yeh, i pasted it at the bottom of style.css (i tested it with and without # in front of ‘article’)

    Like

  67. Ray says:

    great work and awesome help! thanks for everything Om

    Like

  68. alan says:

    Hi, I’m already using some of your cunning code in a twentyeleven child theme. I don’t know if you know how to solve this annoying little problem. With a child theme, my menus don’t show in IE7. They show in Chrome and Firefox. For now I’ve had to duplicate them in the sidebar but I want the navigation bar just to run along the top below the header.

    url: http://www.theborrowdalestory.co.uk/

    alanpmcd

    Like

  69. Bryan says:

    Coffee purchased mate, and i encourage all who get some of your great (fast) help, do the same ! nice work Om.

    Cheers

    Like

  70. Ross says:

    Hiya Om. Life got in the way and I haven’t been able to get back to customising my blog. Got a little break now…so if you wouldn’t mind…🙂

    This query will be easier to understand if you see my site:
    http://theboomtownrap.perthpunk.com/wordpress/

    I want to relocate the Tweet button next to the Facebook items, and to the right, rather than above as is currently the case. I want to do this at both the top and bottom of my posts. Is this achievable with CSS, please?

    Cheers
    Ross

    Like

    • Hi Ross..
      Nice to see you again…. Give me some time..i am checking your problem…in the mean time if you have skype..would u mind to add me? om2000_cuet is my id…

      Regards
      Om

      Like

    • Hi Ross…
      WOuld you mind to try the following code and let me know it works for you or not?

      div.tweetthis {
      float: right;
      margin-right: 51px;;
      }

      Regards
      Om

      Like

      • Ross says:

        Always so polite, Om!🙂 And YES, your CSS worked. Thank you! You’re a gentleman and a CSS star!

        I think the tweet button is fine where it is, but if I wanted to move it left, closer to the Facebook stuff, how would I change the CSS? I tried changing the 51px to various different values, but only succeeded in moving the button further to the right, or up to the next line where it was before.

        I’m not on Skype, by the way. I was, but couldn’t get the sound to work, so uninstalled it.

        Cheers
        Ross

        Like

      • HI Ross…
        I checked it…..
        it will need to check the plugins file(facebook like plugins) to give space the twitter button close to facebook.

        Regards
        Om

        Like

      • HI Ross…

        sorry… Discard my previous response..i think i got the solution..please try this and let me know it works for you or not…..

        .fb_edge_widget_with_comment {
        position: relative;
        width: 317px;
        }

        div.tweetthis {
        float: right;
        margin-right: 184px;
        }

        Regards
        Om

        Like

      • Ross says:

        Hi Om. Yep – your new code was spot on, as usual. I think I like the Tweet button better like that, immediately adjacent to the FB stuff. Thanks yet again!

        Where are you, by the way – if you don’t mind me asking?

        Cheers
        Ross

        Like

      • Hi Ross….
        NIce to hear that my code work…are you asking me where i am from ? I am from Bangladesh 🙂

        Regards
        Om

        Like

      • Ross says:

        Om, I’ve just noticed the Tweet button seems to interfere with the first line of posts that begin with text. eg: http://theboomtownrap.perthpunk.com/wordpress/112/why-has-the-nanny-state-forsaken-our-jocks/

        You’ll see in that example post that after ‘news.com’ the line ends and the next word ‘today’ continues on the next line down.

        Is there any modification to the CSS that will stop this happening, please, but without altering the position of the Tweet button?

        BTW, I’ve been to Bangladesh. Spent 3 days in Dhaka – but that was a long time ago now. I remember having some fantastic small-grain rice at a Chinese restaurant there. Some of the tasiest rice I’ve ever had. I don’t think I’ve come across such small grains anywhere else – and certainly not as beautiful in flavour.

        Cheers
        Ross

        Like

      • Hi Ross..
        Just finished checking the problem…Yes..one iframe in the facebook plugins is overlapping the tweet button which makes the tweet button stop working…
        I need to check the files of that facebook plugins to make the tweet button works and also need to check your contnets of that post where there lines goes down.

        Regards
        Om

        Like

      • Hi Ross…Here is a solution to make the tweet buttons working…
        Please let me know it works for you or not.

        div.tweetthis {
        float: right;
        margin-right: 184px;
        position: relative;
        z-index: 1000;
        }

        Like

      • Ross says:

        Hi again Om! Just tried your modified code and the Tweet button is now working again – thanks!

        However, as per my example link above, the interruption to the text on the first line of any post beginning with text only is still an issue. You don’t notice it with posts like the movie reviews, where an embedded youtube trailer is at the beginning of the post. If this is a time-consuming or annoying problem to resolve from your point of view, no worries – just leave it. You’ve already helped me enormously.

        Cheers!
        Ross

        Like

      • Hi Ross…
        Got the solution for your “Interruption to the text on the first line of post” Try the following code and let me know it works for you or not…
        and yes..if you want u can buy me a coffee..🙂

        div.tweetthis {
        float: right;
        height: 15px;
        margin-right: 184px;
        position: relative;
        z-index: 1000;
        }

        Regards
        Om

        Like

      • Ross says:

        Thanks Om – it worked! Just bought you a coffee (paypal user name = screendraft).

        Thanks for all your help!

        Cheers
        Ross

        Like

      • Hi Ross…
        🙂 yes..got it..thanks..

        Regards
        Om

        Like

  71. Which of your post? I have only my post in my admin area…

    Regards

    Like

  72. kweinstein says:

    Dear Om,

    I can change the height of the banner through the header CSS available through wordpress
    but my banner becomes distorted. It seems that twenty eleven needs to upload the header in the dimensions of 288px x 1000 px.

    If I was using a solid block of color there would be no issue of changing the height–but since my header has text, there seems to be no way to change the height. I have tried creating many banners, cropping in wordpress and then changing the height in css–but nothing seems to be working. Is there anything else I can try, short of creating a child theme?

    the url is
    http://consultingresourcesny.wordpress.com/

    Many Thanks,
    Kathryn

    Like

  73. kweinstein says:

    it’s open now
    thanks
    kathryn

    Like

  74. kweinstein says:

    I’ve just placed a header in the desired size (1000 x 188 px)
    Twenty eleven forces me to crop the image
    i’ve put the original file on the front page of the site

    Like

    • Hi Kathryn…
      give me some time and let me check it if i get any solution or not…do you have skype?

      Regards
      Om

      Like

      • HI Kathryn
        Try the following code…. If this code works…let me buy a coffee 🙂 let me know it works for u or not..

        #branding a img {
        display: none;
        }
        #branding hgroup {
        background-image: url(“http://consultingresourcesny.files.wordpress.com/2011/07/banner181.png”);
        height: 188px;
        margin: 0;
        width: 1000px;
        }

        Regards
        Om

        Like

  75. Tony Mizzell says:

    I appreciate your site and have found a few of the tips very useful, therefore, I have already made a donation so you can buy a cup of coffee or two. Since you seem so knowledgeable on wordpress and the theme twenty eleven, I would like to throw a couple of questions out to you and see if you can steer me in the right direction. If so, I’ll make another donation and maybe dinner, this time.

    First I’m working on a develepmental site. you can reference the test site at http://www.tonymizzell.com. I have two issues that I need help with and it’s kind of over my head. I’m developing a couple or three or four microsites for a pool company and they will all be similar in nature with the exception of some content and geographical information changing out on each site, so I would like to build it off of one theme and use the widgets, etc, to drive content from the database for the localization information.

    #1 I would like my widgets to be styled similar to this site: http://www.irmopoolcompany.com.

    #2 I would like to be able to add a phone number widget with the city in the top right hand side of the header like in the above mentioned site as well.

    I think twenty eleven is the perfect theme to build these off of. I’m not an experienced coder or web development guy; however I can get myself around the files and change css files, etc. I’ve been fighting with styling for a couple of days and can change the widget style but when I change one they all change.

    I’ve also tried styling directly in the widget and have had a little success there, but mostly I would like to create several clean widgets that I don’t have to style each time I build a new page for this company.

    Thanks for any advice.

    Regards,

    Tony

    Like

    • HI Tony..
      Thanks for your donation🙂

      Would you mind to try the following code ( take backup of your previous style.css first) and let me know it is going ok or not..

      #secondary {
      background-color: #F8F8F8;
      float: right;
      padding-left: 13px;
      padding-right: 11px;
      width: 24%;
      }
      #primary {
      float: left;
      margin: 0 -26.4% 0 0;
      width: 98%;
      }
      #custom-contact-forms-3 {
      background-color: #F0EED7;
      padding-right: 10px;
      }

      #text-3 {
      border: 1px solid lightgrey;
      padding: 5px;
      }

      .widget-title {
      color: black;
      font-size: 13px;
      font-weight: bold;
      letter-spacing: 0.1em;
      line-height: 2.6em;
      padding: 3px;
      text-transform: uppercase;
      }

      Regards
      Om

      Like

  76. Chris says:

    Maybe I’m missing it, but is there any way to get the sidebar from the front page to appear on all posts? Would love some help there. I’m a novice with this CSS stuff:-/

    Like

  77. I have a LOT of white space between posts. How do I remove that?

    Your above post was a HUGE help. Thank you!

    ~V~

    Like

  78. Johnny Stork says:

    Gee after getting all sorts of great help here with the customizations to the 2011 Theme, my site just suddenly got all messed up and I had to revert back to the stock 2011 theme. I didnt make any new changes to the customized child theme, and nothing shows in the Apache error logs so I am not sure where to start looking for the problem. But the link below is to a screenshot of what the site looks like with the child/theme off 2011 with the previous customizations. Below the screenshot url is the contents of my style.css if that helps.

    Messed up css:

    My styles.css:

    /*
    Theme Name: Twenty Eleven Child
    Description: Child theme for the Twenty Eleven theme
    Author: Johnny Stork
    Template: twentyeleven
    */

    @import url(“../twentyeleven/style.css”);
    /*
    @import url(http://fonts.googleapis.com/css?family=Jura:600|Michroma);
    */

    /* Johnny Edits */

    /* Header title and fonts */

    #site-title a {
    color: blue;
    font-family: tahoma;
    /*font-family: ‘Michroma’, sans-serif;*/
    font-size: 30px;
    font-weight: bold;
    line-height: 36px;
    text-decoration: none;
    }

    /* Header Spacing */

    #site-title {
    margin-right: 270px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 1.65625em;
    }

    /* Header Spacing – Remove spaces above/below and Posted Date/Author */
    /*
    .entry-meta {
    clear: both;
    color: blue;
    display: none;
    font-size: 12px;
    line-height: 18px;
    }
    */

    /* Post titles */

    .singular .entry-title {
    color: red;
    font-family: tahoma;
    /*font-family: ‘Jura’, sans-serif;*/
    font-size: 1.2em;
    line-height: 24px;

    }

    /* Post titles – Home Page */

    .entry-title, .entry-title a {
    color: red;
    font-family: tahoma;
    /*font-family: ‘Jura’, sans-serif;*/
    font-size: 1.1em;
    line-height: 24px;

    }

    /* Site description under title */

    #site-description {
    color: red;
    font-family: tahoma;
    font-size: 14px;
    margin-bottom: 1.65625em;
    margin-left: 0;
    margin-right: 150px;
    margin-top: 0;
    }

    /* Left align post content */

    .singular #content, .left-sidebar.singular #content {
    margin: 0 0.6%;
    position: relative;
    width: auto;
    }

    #comments {
    float: left;
    width: 68.9%;
    }

    #respond {
    -moz-border-radius: 3px 3px 3px 3px;
    background: none repeat scroll 0 0 #DDDDDD;
    border: 1px solid #D3D3D3;
    float: left;
    margin: 0 auto 0.625em;
    padding: 1.625em;
    position: relative;
    width: 68.9%;
    }

    /* Reduce spacing below navigation bar and post text */

    #content nav {
    clear: both;
    overflow: hidden;
    padding: 0 0 1.625em;
    }

    .singular.page .hentry {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    margin-top: -15px;
    }

    .singular .hentry {
    border-bottom: medium none;
    padding: 0;
    position: relative;
    margin-top: -0px;
    }

    #main {

    border-top-color: #EEEEEE;
    border-top-style: solid;
    border-top-width: 3px;
    clear: both;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    }

    /* Tables */

    table {
    padding: 0;
    margin: 2px 15px 12px 15px;
    border: 0;
    }

    table caption {
    color: #444;
    background: #ddd;
    padding: 5px 8px;
    font-family: arial, tahoma, verdana, helvetica, sans-serif;
    font-size: 17px;
    line-height: 10px;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid #fff;
    }

    table thead tr th, table tr th {
    text-align: left;
    padding: 2px 4px;
    color: #777;
    background: #e7e7e7;
    }

    table tbody tr td, table tr td {
    padding: 3px 4px;
    color: #666;
    font-family: arial, tahoma, verdana, helvetica, sans-serif;
    font-size: 14px;
    line-height: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #e7e7e7;
    }

    table tfoot tr td {
    color: #888;
    font-size: 11px;
    padding: 2px 4px;
    }

    .singular.page .hentry {
    padding: 0.5em 0 0;
    }

    #main {
    clear: both;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    }

    /************** To Reduce the upper and lower gap of Continue Reading ***********/
    .entry-content p {
    margin-bottom: 8px;
    }

    #_mcePaste {
    margin-top: -18px;
    margin-bottom: -16px;
    }

    /********** To Reduce the space between Nav menu and Post Title ********************/

    #content nav {
    clear: both;
    overflow: hidden;
    padding: 0;
    }

    /********** Spacing between Post Title and the Horizontal Line in Home page **************/

    .hentry, .no-results {
    border-bottom: 1px solid #DDDDDD;
    margin: 0 0 0.625em;
    padding: 0 0 1.625em;
    position: relative;
    }

    .entry-content, .entry-summary {
    padding: 0.625em 0 0;
    }

    /********** Remove “Featured” in Home page **************/

    .entry-header .entry-format {
    color: #666666;
    display: none;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    position: absolute;
    text-transform: uppercase;
    top: -5px;
    }

    Like

    • HI Johnny

      How are you?

      Johnny would you mind to share me the link of your site so that i can check it?

      Regards
      Om

      Like

      • Johnny Stork says:

        Oops, Thats twice now I did that.

        http://www.stratazen.ca

        But I had to revert back to the stock 2011 theme so it looks fine now. But as soon as I switch to the child theme with the css above, the site looks like to screenshot in the previous message.

        Like

      • Hi Johnny,
        Good Morning(my side)
        Just checked your comments… yes.. your site Looks OK now…. Please let me know when you faced the problem..🙂

        Regards
        Om

        Like

      • Johnny Stork says:

        Actually it is NOT working ok. You must have missed the part where I said I had to revert BACK to the default 2011 theme in order to get the site up. Under IE and FF, the site looks like this:

        But with Chrome, it seems to be fine. Since the site does not load properly with FF or IE now, I have to keep the default 2011 theme up until I can determine the problem.

        Any suggestions?

        Like

      • Hi Johnny,
        THanks for your comments…yes..i missed it… would you mind to add me in skype so that we can chat and fixed a time to check the problem?
        om2000_cuet is my id.

        Regards
        Om

        Like

      • Johnny Stork says:

        I think I might have found the problem. It looks like the line which loads the style.css from the original 2011 theme, is not working?

        @import url(“../twentyeleven/style.css”)

        So what I did for now, temporarily, is to revert to the stock 2011 theme, make a copy of the default style.css and then add all the css from the child theme at the bottom. So the site is looking ok now, and when I have a chance I will go back and see why that import line is not loading the style.css.

        I am sure you are busy, so I wont bother you with this unless I find I still cant figure out why the style.css is not loading. Thanks again for all your help.🙂

        ps: Still not getting notifications on updates to the comments here, so I will check my multiple spam boxes/filters.🙂

        Like

      • Hi Johnny..

        Yes..Let us know the reason why it was not loading….

        Also… I am using wordpress.com free hosting site…not sure why you are not getting email notification… may be it is problem of wordpress.com
        😦

        Regards
        Om

        Like

  79. iza says:

    hello

    Anybody knows how to change footer and add my pages at the buttom like contact us, private policy etc… Also how to add copy right 2011.

    thank you

    Izabela

    Like

  80. markinhos9 says:

    Hello, first thank you very much for the post.
    I change the background of the blog because the theme options will allow you to switch between black and white only. I want this background (white or black) to be transparent because i want see the background-image.
    I tried put on the tag #page{ opacity:0.7; } but this change put all page transparent.
    I tried put on the tag #page{background-color: rgba(0,0,0,0.7); } but this option does nothing.
    Excuse my English but I am Spanish. Thanks

    Like

    • HI,
      To make your background transparent try the following code and let me know it works for you or not..

      #page {
      background: none repeat scroll 0 0 transparent;
      }
      #primary {
      background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
      float: left;
      margin: 0 -26.4% 0 0;
      width: 100%;
      }

      Regards
      Om

      Like

      • markinhos9 says:

        Thanks for the reply but the changes did not effect…
        I can not think of anything more.
        Any ideas?
        Thanks.

        Like

      • HI,
        Where have u pasted the code i have provided to you? I didn’t see my codes in your site…
        Please let me know..
        Regards
        Om

        Like

      • markinhos9 says:

        Sorry, remove it because it did not work.
        Already put the code, but you can see that the primary has turned gray and I want to set transparent…
        if you want I can show you the effect you want by putting in the tag #page { opacuty:0.7;} but this option put the image, the comments and the entries transparents and I do not want that.
        You can see the code that you gave me… thanks.

        Like

      • Hi,
        Just paste this code at the bottom of style.css

        #primary {
        background: none repeat scroll 0 0 rgba(255, 255, 255, 0.7);
        float: left;
        margin: 0 -26.4% 0 0;
        width: 100%;
        }

        Also : paste the below code at the bottom of style.css again..

        #page {
        background: none repeat scroll 0 0 transparent;
        }

        Please let me know it works or not..

        Regards
        Om

        Like

      • markinhos9 says:

        Thank you very much, now works.
        I do not understand why did not work the same code in the upper tag “page” and “primary” and down the same code work perfect.
        Thank you very much.

        Like

      • HI…
        Nice to know the code works….

        If you are happy..let me buy a coffee…. 🙂

        Regards
        Om

        Like

  81. Hi

    Was wondering how to reduce the space beneath “Continue Reading” on the front page of the Twenty Eleven theme

    Thanks, Henry Swanson

    Like

  82. jpdacostas says:

    Wow. Thank you for taking your time and posting all of this great facts. One quick question, how do I center my menus for twenty eleven?

    Like

  83. jpdacostas says:

    Yeah the site is http://www.peaceofmebracelets.com I want to move the menus to the middle of the page instead of being indented to the left. Thanks =)

    Like

    • HI,
      Would you mind to paste the following code at the bottom of style.css and let me know it works for you or not?

      #access ul {
      font-size: 13px;
      list-style-image: none;
      list-style-position: outside;
      list-style-type: none;
      margin-bottom: 0;
      margin-left: 18.8125em;
      margin-right: 0;
      margin-top: 0;
      padding-left: 0;
      }

      Regards
      Om

      Like

  84. jpdacostas says:

    That worked just fine. You’re brilliant! Thanks a ton. =)

    Like

  85. Babatunde says:

    Hello,

    Thanks so much for the lovely post: its been very helpful. Please I still don’t know how to show blog categories in my navigation menu. I know you told someone about it in the comments but I’m still confused as to how to do this exactly. Is there a CSS code I need to paste? Or is it something I can alter through in the “appearance” tab of my dashboard? Thanks for the help.

    Like

  86. Babatunde says:

    Sorry, I forgot to add: I want the blog categories to show in the Horizontal Navigation menu, where the home and about pages are. Thanks

    Like

  87. Hi again, hope you can help! Am (still) trying to

    1. Remove the grey bar immediately *below* the black nav bar
    2. Round the corners where “Blog at WordPress is (just like they are at the top), and
    3. Reduce the padding between the nav bar and individual post titles (nothing so far seems to work, grrrr😉

    http://alienfiction.com/2011/08/17/twenty-eleven-wordpress-theme-css/

    Thanks, Henry

    Like

    • Hi Henry..
      ** I didnt get any grey bar immediately below the black nav bar.. can u send me an image (screenshot ) for this?

      For the footer side Rounded corner try the following code (pls check it in different browsers)

      #site-generator {

      -moz-border-radius:.5em;
      -webkit-border-radius:.5em;
      border-radius:.5em;
      }

      To Reduce the padding try the following

      .singular .hentry {
      border-bottom: medium none;
      padding: 0 0 0;
      position: relative;
      }

      Pls let me know they works for you or not..

      Regards
      Om Prakash Chowdhury

      Like

  88. Jesus says:

    Hello allaboutbasic!

    Could you please tell me how can I make a line above and an other below the header picture of the Twenty Eleven like is in the following site?

    http://mitosoc.org/blogs/diagnosis/

    THANKS in advance.
    Jesus

    Like

  89. I’d like to change the width of my right sidebar but I want it to be smaller instead of larger. How do I adjust the float? Thank you for this by the way. Excellent information here and easy to follow.

    Like

    • HI Selma..

      paste the following code (you need to modify the width and margin as your choice) and let me know it is ok for you or not..

      #secondary {
      float: right;
      margin-right: 7.6%;
      width: 17.8%;
      }

      Regards
      Om

      Like

      • thank you. i will try it. Also, I saw the code for adding a border between the main section and right sidebar, but instead of a dotted line.. how do I make it the same as the border that surrounds the entire page? same color and style.

        Like

      • Hi Selma
        Would you mind to try this code and let me know it is Ok for you or not?

        #secondary {
        border-left: 3px solid #1e1e1e;
        float: right;
        margin-right: 5%;
        padding-left: 12px;
        width: 17.8%;
        }

        ** Just change the border color (#1e1e1e) with your preferred color.

        Regards
        Om

        Like

  90. Hi om,

    Hope all is well! Its me again!

    I am having another small problem with WordPress, I have emailed you the info hoping you may be able to help?

    All the best,

    Tom

    Like

  91. Thanks for the help again Om, another coffee coming your way!!! 🙂

    Like

  92. nizazainal says:

    Hi Om,

    Appreciate your help with the image size.. the original I upload is of size 650 px width, but it get streched/squeezed in twenty eleven, the size differs based on screen size. How to maintain the image size fixed at max (650px width) regardless of the screen size.

    Thanks in advance.

    Like

    • HI Niza…
      Just visited your site. Paste the following code at the bottom of style.css and i hope it will solve your problem

      #content {
      margin-bottom: 0;
      margin-left: 3.6%;
      margin-right: 34%;
      margin-top: 0;
      width: 70%;
      }

      Pls let me know it works for you or not

      Regards
      Om

      Like

  93. housewife92 says:

    Hello,

    Firstly, thank you for all the very generous and helpful information! I ran a search to try and find a way to remove the search bar from the menu and your codes here were the only ones that worked.

    I notice on my site that even though the search box is gone, the menu categories are still aligned the same way they were before, as if the search box area is still “full”. Is there a way to make the categories align to fill the whole menu, and fill the area to the right where the search box used to be?

    Here’s my site: http://itsahousewifelife.com

    Thank you for any help!

    Andria

    Like

  94. Samuel Lee says:

    Hello. How do I add images in the navigation bar so visitors will not see the navigation bar text? I am not sure where to add the image link???

    #access {
    background: #222; /* Show a solid color for older browsers */
    background: -moz-linear-gradient(#252525, #0a0a0a);
    background: -o-linear-gradient(#252525, #0a0a0a);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to

    (#0a0a0a)); /* older webkit syntax */
    background: -webkit-linear-gradient(#252525, #0a0a0a);
    -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    clear: both;
    display: block;
    float: left;
    margin: 0 auto 6px;
    width: 100%;

    Thanks for your advanced help.

    Like

    • Hi Samuel
      WOuld you mind to share me your website URL to check?

      ALso..do you want to remove ur navigation bar or just want to replace it with image?

      Regards
      Om

      Like

      • Samuel Lee says:

        Sure, my url is http://omgiatest.com

        I want to keep the navigation bar and the links, but replace the links with images.

        Also I am willing to remove the navigation bar, which every is easier to maintain.

        Thanks for the quick response!!!

        Like

      • Hi Lee…
        If you want different menu with different link then it needs some more modifications for each menu item

        but..you can try the following for check

        #access .current_page_item > a, #access .current_page_ancestor > a {
        background-image: url(“https://allaboutbasic.files.wordpress.com/2011/07/roger.png”);
        color: transparent;
        font-weight: bold;
        }

        Regards
        Om

        Like

  95. Samuel Lee says:

    @allaboutbasic

    Thanks for your help. I found a solution.

    http://digitalraindrops.net/2011/08/twenty-eleven-social-icons-in-navigation/

    The article really helped. The only issue now is I need to adjust the navigation size.

    Like

    • HI Samuel

      Try the following codes… i found the link you shared , they added social icons in navigation bar but u didn’t add anything..not sure how that post helped you..

      I think the following code may help you to resize your navigation bar

      .nav-twitter, #access .nav-twitter:hover > a, #access .nav-twitter a:focus {
      background: url(“images/twitter.png”) no-repeat scroll 0 0 transparent;
      height: 75px;
      padding: 0;
      }

      #access a {

      display: block;
      line-height: 5.333em;
      padding: 0 1.2125em 0 5.2125em;
      text-decoration: none;
      }

      Please let me know it is Ok for you or not..

      Regards
      Om

      Like

  96. Unbelievably helpful blog. I have 2 requests:
    1. To remove the small little smiley face at the bottom of the page.
    2. To remove the footer where it says theme: Twenty Eleven Blog at WordPress.com
    including the grey colour box its in and the thin grey line above the box

    Thanks

    Like

    • HI,
      Good Morning…Would you mind to share me your website URL for checking?

      Regards
      Om

      Like

      • blog.abovebelowcreative.com

        Thanks

        Like

      • HI,
        To remove the smily face try the following code..

        img#wpstats {
        display: none;
        margin: 0 auto 1.625em;
        }

        To remove the footer where “Blog at wordpress.com” written

        .wf-active #site-generator {
        display: none;
        font-size: 14px;
        }

        Please let me know it is Ok for you or not..

        Regards
        Om

        Like

      • I would also like to remove the black navigation bar completely.

        Any help will be greatly appreciated

        Like

      • Hi
        To remove the black navigation bar completely from twenty eleven theme

        #access {
        display: none;
        }

        REgards
        Om

        Like

      • Yes that code worked perfectly! Thanks a million.

        The last thing left is the navigation bar. Any ideas?

        Also instead of removing the footer entirely, what about just changing it

        to all white?

        There also seems to be a gap on the top of my header. Any ideas for this?

        Really appreciate this. Fantastic blog!

        Like

      • HI,
        To make the footer (which is not showing now) background white. but it will not help u remove the “Blog at wordpress.com” . You have to modify the php file to remove this

        .wf-active #site-generator {
        background-color: white;
        display: block;
        font-size: 14px;
        }

        About the gap..

        This gap is showing due to the image “Blog” you used in your site(its background is white).. the image is 1000px wide and 288px height..
        you can try this. ( if it is not suitable. you may need to modify the php file again)

        #branding img {
        height: 215px;
        margin-bottom: -7px;
        width: 100%;
        }

        about Navigation bar..

        What help you need for this?

        Regards
        Om

        Like

      • Awesome. everything is perfect the way it is. Thank you. I think my last post was sent at the same time as your reply. Sorry about the confusion.

        Thanks again

        Like

      • HI,
        wc
        let me know if you have any question regarding wordpress and css..

        Om

        Like

  97. hello im fairly new to this can you please check my website i have just upgraded to css and made some adjustments using your code from above. i would like to know if it is possible to have the wording

    Howie & Organ Engineering Pty Ltd ABN 27 097 035 473

    fixed in the middle down the bottom of the web page?
    thanks

    Like

  98. Samuel Lee says:

    How do I switch the widget area from the left to the right on the showcase page? Tell me how that coffee taste as well!?!

    Like

  99. Chris says:

    Hey. I would like to remove both archives and meta from the sidebar. Is that possible? I’m a completely newbie.

    Like

  100. chris says:

    I took the “custom archives” from widgets in appearance and now the sidebar is empty. after… hours of trying to figure out how to remove archives and remove site admin and log out by changing functions.php and categories.php.😉 The rest i found out about quite soon.

    yeah!

    Like

  101. 11:30 pm here and you had a perfect solution for what I needed to get rid of a comment bubble. Enjoy the Coffee on me, I am going to bed.

    Thanks,
    Bill

    Like

  102. Wonder if you might be able to help. I’ve tried most of everything you have mentioned so far. How do I remove the blank line between the menu and the text in http://www.rdschumacher dot com?

    Like

    • HI,
      paste the following code at the bottom of style.css

      .singular.page .hentry {
      padding: 2.5em 0 0;
      }

      Regards
      Om

      Like

      • Wow, that worked! Thank you!!

        If this is out of line, no worries, but I would like to add a menu right justified to the right of site title with text only links (no menu bar) on the twenty-eleven theme. Thoughts?

        In any case, hope you enjoy the coffee and thank you again.

        Like

      • Hi,
        thanks for the coffee 🙂 i got it….

        and yes..you can add menu ( Text link) to the right side of the site title… Just you need to add the text link in the header.php file… but it will need some css and html knowledge.
        and if you want to do it..please take backup of your header.php file before doing any modification…

        If you need any help let me know..i will answer you in the morning.. Good night for now.

        thanks again for your Coffee.. 🙂

        Regards
        Om

        Like

  103. Tunde says:

    Hello! Thanks so much for these wonderful resources. I have a little challenge on my blog though. I installed a plugin to insert facebook like buttons and tweet button to each post. If you go to my sit at http://www.miccheck12.com, u’ll see the buttons on top each post in the home page. Know anyway I can reduce the gap between the two buttons by bringing the tweet button closer to the facebook button?

    Thanks

    Like

  104. hi,
    where i can found the author comment in css

    to make a change
    many thanks

    Like

  105. joe says:

    an other question,
    can i add ip address under the date on comments
    name
    date – time
    ip adress
    thanks a lot

    Like

  106. I’d like to do three things:
    1. Make the image extend beyond the border and into the menu bar and into the title header area (the wing tips of the planes would overlap the menu bar at the bottom and the header area at the top) and have the feel of popping out of the site. I can create the image(s) in photoshop with a drop shadow for extending beyond the boundaries of the image. I need help with the php, css, html and such to complete the effect. The site is rdschumacher dot com. (I’d still like the site to work well on mobile devices as it does today).
    2. I’d like an example showing four text links to the right side of the site title and right justify the links within the header. I have no problem editing the header.php, css and html files but I may need some help in understanding what’s going on.
    3. Lastly and I know this is a stretch, but I’d like to learn and would you share some of your favorite resources?
    Thank you again for all your help.

    Like

  107. joe says:

    Hi Om,
    here is the code to get the ip

    ()
    many thanks

    Like

  108. kristianmaar says:

    Hi guys!

    I want my header image to go through the menu bar which I have customized to be transparent this way:

    background: -moz-opacity: 0.75; opacity:0.75;

    So the goal is to make the menu overlap the header image.

    btw, I’m using the 2011 wordpress theme.

    Like

  109. kristianmaar says:

    Ok… But I was kind of asking for help in order to finish my site. Letting you know when it’s done won’t get me further if you don’t mind me saying🙂

    Like

    • Kristian…
      what problem are facing now? would you mind to clear?

      Om

      Like

      • kristianmaar says:

        I want the header image to be taller and span to the bottom of the menu bar. Sorry for my unclear posts🙂

        Like

      • Hi Kristian

        If you want to change width and height of your header image of twenty Eleven theme you can do this from the functions.php. Just check the following lines….

        define( ‘HEADER_IMAGE_WIDTH’, apply_filters( ‘twentyeleven_header_image_width’, 1000 ) );
        define( ‘HEADER_IMAGE_HEIGHT’, apply_filters( ‘twentyeleven_header_image_height’, 288 ) );

        Please let me know it is Ok or not.

        Regards
        Om

        Like

  110. kristianmaar says:

    I changed the values and now I’m allowed to upload images of the specified dimensions, but a larger image just pushes the menu further down😦

    Like

    • HI Kristian,
      Yes…. Image height may push your menu bar down. would you mind to clear me your requirements again?

      Regards
      Om

      Like

      • kristianmaar says:

        The menu bar must overlap the header image. I already made the menu bar transparent, now I want the header image to be visible through the menu bar.

        Like

      • HI Kristian,

        Sorry for the late response. Just returned home…Would you mind to try the following code and let me know it is OK for you or not?

        #access {
        -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
        background: -moz-linear-gradient(#252525, #0A0A0A) repeat scroll 0 0 transparent;
        clear: both;
        display: block;
        float: left;
        margin: -40px auto 6px;
        opacity: 0.75;
        width: 100%;
        z-index: 1000;
        }

        #branding img {
        height: 270px;
        margin-bottom: -7px;
        width: 100%;
        z-index: 1;
        }

        Regards
        Om

        Like

  111. chris says:

    Hey,

    i would like the clickable thumbnails on pages showing small version of the original, uncropped image. on this page for example: http://christian.irmer.com/?page_id=166

    is there a way to do so?

    Like

  112. kristianmaar says:

    Wow.. It works perfectly! You’re a css magician😀

    Like

  113. joe says:

    hi Om,
    the Ip adress is perfect,
    i am waiting for code….

    you are the best

    Like

  114. kristianmaar says:

    I am not using any plugins at all.

    Like

  115. joe says:

    Sorry Om i dont use skype i dont have it
    you can send it by email it’s ok for me….

    Like

  116. joe says:

    thanks Om,
    i make it already thanks again

    one question have this theme an slideshow ?????

    Like

    • Hi Joe,
      sorry for the late in reply.. Umm..there is a default slide show feature which wordpress.com allows..not sure for the wordpress installed in own hosting…
      and, thats great you already have solved it. as it is a php file thats why i could not paste it in the comments box.

      but if you need it..pls let me know.. i will mail back to you..

      Regards
      Om

      Like

  117. joe says:

    Hi Om,
    every thing is ok….
    but pls. have a look in my trial web: http://www.bencatania46.altervista.org

    i put on slideshow in home page but the buble of comment goes up.
    how to adjust it
    thanks

    Like

    • Hi Joe,
      sorry for the late in reply, yesterday i was too busy with some house hold work 😦

      Joe, would you mind to try the following code and let me know it is Ok for you or not..

      #content {
      margin-top: 0;
      padding-right: 11px;
      width: 63.4%;
      }

      Regards
      Om

      Like

  118. joe says:

    Om, scuse me but i have an other issue:
    i want to make in home page alternate color for the posts with border

    the same alternate color in comments with number
    thanks a lot

    Like

  119. sarah says:

    [i’m using the Twenty Eleven theme]

    hiy there AAB🙂

    i’ll *definitely* paypal you a coffee AND muffin if you can show me how to split my title text on to two lines – nicely!

    for example, my title currently displays like this:

    “my travels through europe, america, asia and new
    zealand”

    this wrapping looks unprofessional, and, ‘UGLY’!

    i’d like it to display with more balance, like this:

    “my travels through europe, america,
    asia and new zealand”

    i’ve had a look around in the header.php file but can’t see a ‘nice’ way to add a line break

    REALLY LOOKING FORWARD TO YOUR HELP – I’M SURE YOU’LL REALLY ENJOY THE COFFEE +++ AFTERWARDS!

    many thanks in advance

    sarah

    Like

  120. Ross says:

    Hi Om – me again! I see you’ve continued to be busy on this now epic thread. Hope you’re enjoying many well-deserved coffees!

    Just a quick query this time. I viewed my blog site on my netbook today, which has only a 10 inch screen. It looked fine on IE, but when viewed on FF the Title and Site Description were far too large, extending over the post title below! The site looks fine on a 17 inch and 22 inch screen – this too large title/description problem only occurs on FF on a 10 inch screen.

    Is there any CSS that can correct this, please?

    I haven’t got Chrome or any other browsers installed. I suppose I should install Chrome at least and check that the site looks OK in that.

    Cheers!
    Ross

    Like

  121. Pit says:

    hello!Om thank You for this website and your help. Please help me with website
    http://www.wdlengineering.com/

    How to exchange a title for logo? @ http://www.wdlengineering.com/logo.jpg

    I did what you said :

    #site-title {
    background-image: url(“http://www.wdlengineering.com/logo.jpg”);
    background-repeat: no-repeat;
    margin-right: 184px;
    padding: 3.65625em 0 0;
    }

    #site-title a {
    color: transparent;
    font-size: 30px;
    font-weight: bold;
    line-height: 36px;
    text-decoration: none;
    }

    and title is transparent but cant see the logo?

    any ideas?

    is it possible to have a big headline “WDL your gateway to steel” just beside logo?

    many thanks in advance
    Pit

    Like

    • Hi Pit..
      Just checked your site…
      the code you entered is rendering wrongly..thats why the logo is not showing….

      and.. yes.. that headline also possible.. just need to modify the header.php file..

      if you can add me in skype. om2000_cuet is my id..
      Regards
      Om

      Like

  122. Pit says:

    Om Thank You
    I strongly recommend Om he knows what he is doing😉
    Coffee on the way

    Pit

    Like

  123. Armo says:

    Hi, It looks like you found a way to change the title for a logo on this theme, can you please post it up so that I can see it too? I have exact same issue as Pit, title is disappearing, and appears on hover, with no image.

    Thanks

    Like

    • HI Armo,
      Yes, I helped Pit personally as i did some modifications on the php files…

      Pls check the followings…


      /*********************** Here is the Style.css portion **************************/
      #branding img {
      height: auto;
      margin-bottom: -7px;
      width: auto;
      }
      div#logo {
      float: left;
      width: auto;
      }
      div#ttl {
      float: right;
      width: 665px;
      }
      #branding hgroup {
      margin: 0;
      }
      #site-description {
      color: #7A7A7A;
      font-size: 14px;
      margin: 0 70px 0.65625em 0;
      }
      #site-title {
      font-family: georgia;
      font-size: 3em;
      margin-right: 201px;
      padding: 0.3em 0 0;
      }

      /*****************************Header.php body portion ***************************/

      <body <?php body_class(); ?>>
      <div id="page" class="hfeed">
      	<header id="branding" role="banner">
      			<hgroup>
      <div id="logo">
      <a href="http://www.wdlengineering.com/"><img src="http://www.wdlengineering.com/wp-content/uploads/2011/09/wdl-logo.png" /></a>
      </div><div id="ttl">
      				<h1 id="site-title"><?php bloginfo( 'name' ); ?></h1>
      				<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2></div>
      			</hgroup>
      
      			<?php
      				// Check to see if the header image has been removed
      				$header_image = get_header_image();
      				if ( ! empty( $header_image ) ) :
      			?>
      			<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
      				<?php
      					// The header image
      					// Check if this is a post or page, if it has a thumbnail, and if it's a big one
      					if ( is_singular() &&
      							has_post_thumbnail( $post->ID ) &&
      							( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( HEADER_IMAGE_WIDTH, HEADER_IMAGE_WIDTH ) ) ) &&
      							$image[1] >= HEADER_IMAGE_WIDTH ) :
      						// Houston, we have a new header image!
      						echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
      					else : ?>
      					<img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />
      				<?php endif; // end check for featured image or standard header ?>
      			</a>
      			<?php endif; // end check for removed header image ?>
      
      			<?php
      				// Has the text been hidden?
      				if ( 'blank' == get_header_textcolor() ) :
      			?>
      				<div class="only-search<?php if ( ! empty( $header_image ) ) : ?> with-image<?php endif; ?>">
      				<?php get_search_form(); ?>
      				</div>
      			<?php
      				else :
      			?>
      				<?php get_search_form(); ?>
      			<?php endif; ?>
      
      			<nav id="access" role="navigation">
      				<h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3>
      				<?php /*  Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?>
      				<div class="skip-link"><a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to primary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div>
      				<div class="skip-link"><a class="assistive-text" href="#secondary" title="<?php esc_attr_e( 'Skip to secondary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div>
      				<?php /* Our navigation menu.  If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
      				<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
      			</nav><!-- #access -->
      	</header><!-- #branding -->
      
      
      	<div id="main">
      
      

      Regards
      Om

      Like

  124. thebuddha says:

    I like to remove the blank space above the header image, approx. 20 oder 30 pixel. (Site title is removed). I tried to use:

    #site-title {
    margin-right: 270px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 1.65625em;
    }

    but it didn’t work. Any idea? domain: zahnarzt-struemp.de


    thanks in advance

    Like

  125. Jim says:

    THANK YOU SO MUCH for sharing this!! you made my week and WP so much easier!

    Like

  126. SkyScorpio says:

    Excuse me sir, I wanna know if there any way to click on ” header image ” and will be transfered to the other link? also plz teach how to change to header image size? thank you so much really appreciate it.

    i’d glad to hear your answer,
    really appreciated it

    Like

  127. Howard says:

    Hello Om,

    I guess that I am stuck. So far everything worked well with your theme, but I do not get a logo into place. I studied your advice e.g. for Pit which you gave here in the forum, but the logo is not fitting very well. It is very large and centered. I could not figure out to fix the dimensions of the logo so that it will keep its orignal size and will not be streached. Any idea or hint?

    Thanx a lot in advanced.

    Best wishes Howard

    Like

  128. markT says:

    You might want to include this little piece of code to get rid of the horizontal table rules:

    #content table, #content tr td {border:none;}

    In addition to child themes, I’ve been using “My Custom CSS” plugin for minor tweaks and works like a charm!

    Like

  129. Sebastiaan says:

    Hi Om,

    thank you for your great blog and help. I was wondering if you could help me out with something.

    In my header there seems to be a line… I cant find it in the header.php and was wondering if you knew a way to switch it off.

    Thank a million in advance!

    Seb
    (URL is http://www.offshorekenniscentrum.nl/wordpress/)

    Like

  130. Okay, OM. I am back again.
    I need to know how to change all of my text color to white bold. Not just white, but bold white.
    The only way I know how is to put tags on my posts and that is causing problems.

    Thanks for your help.

    Like

  131. I figured it out! just added font weight attribute.

    Like

  132. No, I copied your code to change text color and just added the weight attribute to make it bold.

    Like

  133. And.. no, I am not Selma Blair. Just a reallllly big fan of hers. my blog is a tribute to her and her work.

    Like

  134. I do have another question. Is there a code to make ALL of the post titles larger? Not just the homepage. I see where you also added code for individual posts. But combined, will it work on the entire blog?

    Like

  135. armo says:

    Om

    I asked last week about replacing the title with a logo image, i pasted the style and css code but I’m getting parse errors. I am realyl struggling now, If I buy you a coffee will you be able to take a look at this for me ?:)

    Thanks

    Like

  136. Bonnie says:

    hi, i am a newbie.
    i want to keep the nav bar names the same but for example when i click through to home i want to be able to have a different tittle besides home. can i hide this or change this?
    cannot find where?
    i am doing the site via word press.org hosted by go daddy.

    also is there a way to have the images assigned to individual specific pages rather than randomly rotating?
    help?
    is it better to change via dream weaver or on the site?
    i already messed up once and had to relaunch word press via go daddy because i could not fix the code i messed up.
    thanks for any advice.
    Bonnie
    here’s the simple site:
    monabanzer.com

    Like

    • Hi Bonnie,
      THanks for your comments…

      The question you asked for navigation bar related….. i need to check it… i will inform you about it..

      About Image..

      yes..you can add images in specific page (Page–>Add New then check there is an Media symbol to add image/media)

      Om

      Like

  137. house36 says:

    Hi Om,

    First of all thanks so much for sharing your knowledge. That’s very nice of you. I was able to tweak the Twenty-Eleven theme to make it the way I want it thanks to your tips.
    I just have a question. I tried and read all the comments to see if there was something related but couldn’t find anything. I have a image uploaded as a background but it doesn’t scroll down. Is there a way I can fix this? Here is my blog, if you want to take a look and see what I mean.
    http://house36.wordpress.com

    Thanks in advance!