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;
}
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.
LikeLike
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….
LikeLike
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.
LikeLike
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
LikeLike
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?
LikeLike
Hi Lou….
Would you mind to share your website address?
LikeLike
http://youfrontandcenter.com/
LikeLike
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%;
}
LikeLike
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
LikeLike
Hi Lou
You have to change the “Red” (color name) to hex or specific color name
background: -moz-linear-gradient(#252525, red) repeat scroll 0 0 transparent;
LikeLike
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!
LikeLike
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.
LikeLike
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!
LikeLike
Thats Great Erin….
Feel free to comment if you need any help..
LikeLike
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
LikeLike
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?
LikeLike
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;
}
LikeLike
Worked, Thank u so much for the help and being really fast
LikeLike
Hi Lou…
Great… Feel free to comments if you need further help.
LikeLike
Can you suggest any reasons why it still wont work? My nav color is not changing at all, nothing i do is helping, I added the code stated above below all the stylesheet code…
Any ideas? the website is method2creative.com
LikeLike
Hi Max,
Your full menu font color becomes white… What changes you did, or which code u used?
pls let me know..
Regards
Om
LikeLike
Thanks for responding so fast, much appreciated, i woke up this morning and everything changed, its working! I’m using firefox (with history disabled) as my preview browser, and chrome as my building browser, chrome seems to hold some kind of cache, and i don’t want to disable it, I’ve got way to many cookies and history stored. I’ll continue going about it this way and see what happens,
Although, I seemed to have broken the spacing between the navigation text, which code is it that adjusts that?
Thanks again!
LikeLike
Hi Max,
You can try the following code..
#access li {
padding: 12px;
}
Pls let me know it is ok or not..
Regards
Om
LikeLike
I just added the code, nothing got updated. It seems I’m having quite the issue of the website updating every once in a while, its not consistant, I just tried a bunch of things and nothing is being updated again. Is there a reason for this?
Thanks again for the quick reply!
-M
LikeLike
Hi Max,
are you using twenty eleven child theme?
pls let me know..
Regards
Om
LikeLike
Hmmm, not sure, where can I find whether its a child theme…
LikeLike
Hi Max,
just check your style.css… it should be written there.. at the top..
Regards
Om
LikeLike
Ill take a look, I did figure out how to delete the cache on chrome Shift+ALT+Delete… now I see all the changes that I’m making… wonderful…
Thanks again,
-M
LikeLike
Hi Max,
Nice to know u have done it..
๐
Om
LikeLike
Hello again Om!
Where do i specify whether one page has 1 column and another has 2 columns… I’ve been putzin with trying to get it for quite a while now! ๐
-m
LikeLike
Hi Max,
Sorry for my late reply..
you can do it by creating page template..
One Template with one sidebar or column
Another (2nd) template with two sidebar or column..
It is easy to prepare..
Regards
Om
LikeLike
Under what template is the ‘Default Template’ under? I can find all the others e.g. One column, no sidebar Page Template. But I can’t seem to find the Default..
-M
LikeLike
Hi Max,
i think the default template generally indicates the page.php for the pages…
Regards
Om
LikeLike
Hey Om,
I trying to removing the huge spage before the content, could you let me know how that done? Thanks again!
-M
LikeLike
Hi Max,
WOuld u mind to try the following code and let me know it is Ok or not?
.singular.page .hentry {
padding-top: 0.5em;
}
Regards
Om
LikeLike
Hey Om,
Unfortunately nothing happened when i copied that code into the stylesheet.
Any other ideas? ๐
-M
LikeLike
Hi Max,
are you using child theme?
if yes..can u paste the code at the bottom of parent’s style.css?
Regards
Om
LikeLike
Hey Om,
Im still trying to figure out how to adjust the top margin of my #page so that the white line below the navigation bar isn`t so far down, just a heads up, not using a child theme.
http://www.method2creative.com
Thanks man!
-M
LikeLike
Hi Max,
I have checked ur css, you have the following css code which is causing the gap below the navigation menu..
.singular.page .hentry {
padding-top: 5em;
}
reduce the padding-top value and it will solve ur problem..
๐
Pls let me know, if i cant reply today..i will must reply tomorrow..
Om
LikeLike
Om your a damn genius! It was right under my nose the whole time, that totally worked.
(My apologies for getting back to you so late, its been busy on this side)
I’m running out of questions, the website almost doing what i need it for. I just added child pages to my ‘Work’ tab tho, and they are appearing way up in the header image.. thus, they aren’t clickable because of their distance from the nav bar, any ideas?
http://www.method2creative.com
Thanks in advance!
-M
LikeLike
Hi Max,
would u mind to try the following code and let me know it works for u or not?
** If it works.. i think u should by me coffee ๐
#access ul ul {
-moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
display: none;
float: left;
left: auto;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
position: absolute;
top: 21.7em;
width: 188px;
z-index: 99999;
}
#access ul ul a {
width: 188px;
}
Regards
Om
LikeLike
It worked! I’m going to revise the code you gave me so i understand what it is you did…
Starbucks or Tim hortons??!!
LikeLike
Nice to Know it works Max..
Pls check the code works with others menus or not..
๐
Regards
Om
LikeLike
Hey Om,
Do you think we can help me out on the page:
http://www.method2creative.com/contact/
Im using the easy columns plugin, but can seem to center the content on the page, I know Im asking you to dive into a plugin, but I didn’t know if there was some code I could put somewhere to adjust that?
Thanks in advance!
M
LikeLike
Hi Max
You want that column to be in the center of the page?
Regards
Om
LikeLike
Hey Om,
There’s two columns, but i would like the first one to start closer to the center… so that both columns are moved to right… If im making sense..
M
LikeLike
Hi Max,
check the following code
.page-id-23 .hentry {
margin-left: 211px;
margin-right: -169px;
}
Om
LikeLike
Where do i check that code? I’m unfamiliar with how to check that? How do i check for page-id-23?
M
LikeLike
Hi Max,
Just paste the code at the bottom of your style sheet and check it works or not.. and let me know..
Regards
Om
LikeLike
Na, didn’t work…
Any other ideas?
-M
LikeLike
Wait.
I am checking..
Om
LikeLike
Max,
Are you using Child theme?
let me know.
Om
LikeLike
Nope, no child theme..
LikeLike
Hi Max,
but, i didnt see my code in ur site..
whiere u have pasted the code?
pls check u have missed any dot or u have paste the code correctly..
Om
LikeLike
Hey Om,
Its right at the bottom of my css stylesheet.
I even put a header on the code:
/*making the two columns in contacts centered…
——————————————————*/
.page-id-23 .hentry {
margin-left: 211px; margin-right: -169px;
}
LikeLike
Hi Max,
Pls remove the header from above the code.. and try again..
it should work
Om
LikeLike
Hey Om
removed the header code, still no luck… I have faith we’ll figure it out:)
-M
LikeLike
Wait Checking
Om
LikeLike
Max
Pls try this
#post-23 {
margin-left: 178px;
margin-right: -61px;
}
Om
LikeLike
Nope! I swear this will all be worth it when its over!
-M
LikeLike
Hi Max,
add me in skype om2000_cuet is my skype id..
Om
LikeLike
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;
}
LikeLike
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
LikeLike
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?
LikeLike
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
LikeLike
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!
LikeLike
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
LikeLike
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!
LikeLike
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
LikeLike
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!
LikeLike
HI,
What is your website URL? would you mind to share it?
LikeLike
https://allymumm.wordpress.com/
Its a work in progress..and the header isn’t the one I plan to use! Do you need to see the header I want to use also?
LikeLike
Yes…It would better you use that header which you told me in your last comment…
Regards
LikeLike
I know that! But the question is how, the size doesn’t meet regulations therefore I’m seeking advice on how to be able to change the css/use it! Do you have any advice?
LikeLike
Let me check it….I need to activate the Duster theme in my testing site…
Give me some time…
LikeLike
Ok! Thanks so much! If you need to see the header I plan to use, I can email it to you!
LikeLike
Hi,
I have cheked in my test wordpress site, http://freesmsinfo.wordpress.com
Actually , as you are using wordpress.com self hosted site so your header image for Twenty Eleven theme should be 1000 ร 288 pixels.
So you have to made your Image in this resolution……as there is no way to update the php files….
Though i am thinking about another tricks…not sure it will work or not… the tricks is.. If you have “Site Title” then you may use (not sure though) your header image as its background.
you can mail me the header image….i will check it…… om2000_cuet@yahoo.com is my mail id….
Regards
Om
LikeLike
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!
LikeLike
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…
LikeLike
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!
LikeLike
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
LikeLike
It worked! Had to change the text align from 3.8 to 2.8 but other than that, perfect!
Thanks again!
LikeLike
Great Ally….
Let me know if you have any problem….
Regards
Om
LikeLike
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?
LikeLike
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;
}
LikeLike
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!
LikeLike
Hi Graeme
Paste the following code at the bottom of your style.css or custom.css
#branding {
border-top: none;
}
Regards
Om
LikeLike
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!
LikeLike
Hi Faaria…
I think you better use Custom Menu to arrange the Pages in navigation menu bar Manually…
Regards
Om
LikeLike
Hi Om,
Thank you so much for your response! Would you be able to give me more detail about how to do that? I have upgraded to CSS editing, but am not sure what to change in the code to make this happen.
Thank you again,
Faaria
LikeLike
Hi Faaria.,.
Sorry for the late in reply….
You can try from Appearance–>Menu…. Then Create a Menu… and then… Select Categories or pages from the left side which you want to show.. Hope it will work..
Regards
Om
LikeLike
It worked perfectly – thanks, Om!
Best,
Faaria
LikeLike
Thats Great Faaria…
Cheers…
Regards
Om
LikeLike
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
LikeLike
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;
}
LikeLiked by 1 person
Hi Om, that’s excellent. Works perfectly. Many thanks!
LikeLike
Thats Great…
๐
LikeLike
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!
LikeLike
Hi,
Would you mind to share me your website address so that I can check?
Regards
Om
LikeLike
I cannot share the address publicly (as the site is unfinished and for a friend) but would gladly email it to you.
LikeLike
mail me at om2000_cuet@yahoo.com… with proper details
i will check it tomorrow..
Regards
Om
LikeLike
Thank you for your help and for communicating with me via email!
LikeLike
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
LikeLike
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
LikeLike
This worked perfectly! Thank you so much for your help.
LikeLike
your information has been very helpful. Can I add a Link menu to the navigation bar? thank you Aimee
LikeLike
Hi Aimee..
Yes..you can add link menu using Custom Menu…
Regards
Om
LikeLike
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
LikeLike
Hi Cyril…
would you mind to share your website (which is protected now) so that I can see it? without seeing your site I can’t answer perfectly…
Regards
Om
LikeLike
Hi Om,
It’s http://www.christianperformancecoaching.com
So on just the “What is CKM” page for instance I’d like to get rid of the space between the bottom of the menu and the “What is Christian Kingdom Mindset?” title.
Thanks,
Cyril
LikeLike
Hi Cyril
Try this following code and let me know it works or not
#main {
clear: both;
padding: 0 0 0;
}
.singular.page .hentry {
padding: 0;
}
Regards
Om
LikeLike
Hi Om,
That worked, but it did if for every page and I only want to do on on a single page.
Cyril
LikeLike
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
LikeLike
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
LikeLike
Hi Cyril
Where have u pasted the code? Is my code still in your css?
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
Hi Cyril..
I know it should work..
Its easy to get the post_id, you will get it from “View Page Source” of your browser.
Regards
Om
LikeLike
Hi,
I think..In your main site http://thebitgen.com/ you already changed the headers and others….
Regards
Om
LikeLike
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
LikeLike
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
LikeLike
Hi Om,
Thanks for the quick reply! I appreciate your helpfulness.
Best wishes,
Steve
LikeLike
Hi Steve..
Did the code works or not?
Regards
Om
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
Great Steve…
Feel free to contact me if you need any help.
Regards
Om
LikeLike
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
LikeLike
Hi Steve…
Would you mind to try the following
/%category%/%postname%/
or
/%category%/%pageslug%/
Please let me know it works for you or not..
Regards
Om
LikeLike
Hi Om,
You’re amazing! The first one worked perfectly. My only remaining challenge is to move the site’s blog to a designated page. Any quick advice for that?
Best wishes,
Steve
LikeLike
Hi Steve
You can do one thing…..
Show the Blog Category in the Navigation Menu using Custom Menu…
Please let me know it works for you or not..
Regards
Om
LikeLike
The latest advice worked perfectly as well!
Many thanks,
Steve
LikeLike
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
LikeLike
Hi Jay..
Thanks for your comments
Would you mind to share me your website address for check?
Regards
Om
LikeLike
Apologies Om, I thought I had included the site address.
Here it is: http://0197f98.netsolhost.com/Jay/
Many thanks!
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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?
LikeLike
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
LikeLike
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!
LikeLike
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
LikeLike
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
LikeLike
Thanks for your reply Jay…..
LikeLike
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
LikeLike
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%;
}
LikeLike
One more thing I request to tell that I want to show thumbnails on my home page to each excerpt post. How can I do that.
Regards,
Yogesh
LikeLike
Also need Php modifications..
Regards
Om.
LikeLike
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).
LikeLike
Hi Murk..
I am afraid…would you mind to clear me your problem?
Regards
Om
LikeLike
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
LikeLike
Hi Yogesh..
To display google add it needs to modify the php file …So, without checking i can’t help you for this….
Regards
Om
LikeLike
ok thanks a lot for gr8 help.
Yogesh
LikeLike
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!
LikeLike
Hi Johnny….
THanks for your comments…
Let me check your problems…
Would you mind to share me your website address so that i can check your problems?
Regards
Om
LikeLike
Oops! What a dummy, sorry about that. It’s here.
http://www.philosopherscafe.ca
I have no managed to fix the table and a few other issues. All that is remaining now are these issues/questions. And thanks again for offering to help!
1: Spacing above/below the “Continue Reading —>” text
2: Spacing below the Navigation bar and a post title, shown here
http://www.philosopherscafe.ca/2011/07/philosophy-of-religion-and-the-problem-of-evil-why-would-a-benevolent-deity-allow-evil-to-exist/
3: The spacing between a post title (home page) and the horizontal line above/below the text, as shown here.
LikeLike
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).
LikeLike
Hi Spinch…
Yes..It can be done…but for this better u do some php file modification….
I need to check it the file name which you need to modify …….
Would you mind to send me the copy of your twemtu eleven at om2000_cuet@yahoo.com?
Regards
Om
LikeLike
Theme sent. Thank you, sir!
LikeLike
Hi Spinch….
Give me time..I have got your theme….
I will reply you asap..
Regards
Om
LikeLike
Fantastic. Thank you!
LikeLike
very nice but I miss something.. how do I replace the site title and description for a logo?
LikeLiked by 1 person
Hi Bird
Would you mind to share me your website address?
Regards
Om
LikeLike
sure, http://www.bankrasbadjes.nl
LikeLike
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;
}
LikeLike
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!
LikeLike
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
LikeLike
ok pasted..
please note: the logo I want to use is 100px width, 110px high located @ http://www.bankrasbadjes.nl/logo.jpg
LikeLike
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
LikeLike
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?
LikeLike
Hi BIrd..
Try to add me in skype..
om2000_cuet is my skype id
Regards
Om
LikeLike
thx all fixed now thx to skype support by you, great work thx mate! ๐
LikeLike
Hi Bird…
Thanks for your coffee too…it was really cool…
Om
LikeLike
That’s the biggest one lol
LikeLike
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.
LikeLike
Hi Tom…
Would you mind to share your website address so that i can check?
Regards
Om
LikeLike
Have emailed you it om ๐
LikeLike
Got your Mail TOm ๐
Give me some time…
Regards
Om
LikeLike
Hi Tom
Try the following code
.singular.page .hentry {
padding: 0.5em 0 0;
}
Please let me know it works for you or not
Regards
Om
LikeLike
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…
LikeLike
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
LikeLike
Thats it, yes!
Thank you so much Om! You are great, and your blog is super! ๐
LikeLike
NIce to hear tom….
**********let me buys a coffee ****************** ๐
haha..
LikeLike
Enjoy the coffee Om! ๐
LikeLike
Great..
Thanks for the Coffee Tom…. ๐
LikeLike
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;
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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? ๐
LikeLike
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
LikeLike
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!
LikeLike
Thats Great Dave…
Cheers..
๐
Om
LikeLike
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
LikeLike
Hi Linda….
Please give me your website address for checking..
Regards
Om
LikeLike
http://creafash.com/dailypic/
Thank you so much for taking your time.
LikeLike
Hi Linda
Try the following code
#site-title img {
display: block;
height: 71px;
margin-bottom: 15px !important;
margin-left: auto !important;
margin-right: auto !important;
margin-top: 5px !important;
padding-left: 214px;
width: 261px;
}
It will make your Logo Centered..
Please let me know it works for you or not..
Regards
Om
LikeLike
Thank you again, but it didn’t work just made the logo much much bigger… ๐ฆ
LikeLike
LInda..I think You did some mistake…
Try to paste the code in “Appearance–>Editor” –> Style.css (at the bottom)
and if it not work(it should work) try to add me in skype. om2000_cuet is my id..
i will be online in skype between 2 hours…
Regards
Om
LikeLike
Thanks for your personal Help.
LikeLike
Nice To Help Linda..
And thanks for your coffee…it was tasty.. ๐
LikeLike
Awesome article. Helped me a lot (since I’m illiterate in css/php).
LikeLike
Hi Daniel..
Thanks for your comments.. feel free to comments your problems
Regards
Om
LikeLike
Thanks, this was helpful!
LikeLike
thanks for your comments Wachgellen
Regards
Om
LikeLike
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
LikeLike
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
LikeLike
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?
LikeLike
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
LikeLike
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!
LikeLike
Thats Great Johnny.. ๐
Waitin for your coffee.. haha..
Let me know if you have any problem.
Regards
Om
LikeLike
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.
LikeLike
Hi Matt….
I think you will get plugins to show featured image as Post Thumbnails…. have u got any?
Regards
Om
LikeLike
Hi Allaboutbasic,
I’ve tried both Thumbnail For Excerpts & SuperSlider-Excerpt. TwentyEleven seems to prevent both from working. No idea as to why or how.
LikeLike
Hi, Matt…
Sorry..No Idea about it.. ๐ฆ
**If I get any..I will inform you..
Regards
Om
LikeLike
Thanks so much Om! ๐
LikeLike
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!
LikeLike
Hi Hanna….
Add me in Skype.. om2000_cuet is my id.
Regards
Om
LikeLike
hello, how can I expand the widget right sidebar to 300px ?
LikeLike
Hi Eddie..
Try the following code and let me know it works for you or not..
#secondary {
float: right;
margin-right: 2.6%;
width: 23.8%;
}
Rrgards
Om
LikeLike
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!
LikeLike
Hi Scharf
Would you mind to share me your website address for checking?
Regards
Om
LikeLike
My development site is http://moxis2.com/wp/
LikeLike
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
LikeLike
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.
LikeLike
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
LikeLike
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.
LikeLike
Hi Scharf…
Yes right.. CSS doesn’t provide that functionality…
IF you are happy..let me buy a coffee.. ๐
Regards
LikeLike
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…
LikeLike
Hi Scott..
Would you mind to share me your website URL?
Regards
Om
LikeLike
Hi,
No problem it’s http://www.realepicurean.com/
LikeLike
Hi Scott
I think you are searching for this code
#page
{
border:6px solid #666666;
}
Please Let me know it works for you or not..
Regards
Om
LikeLike
Hi,
Is it possible to add a drop shadow in a whole page?
LikeLike
Hi Cirex
Would you mind to share me some example to understand the whole thing clearly?
Regards
Om
LikeLike
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
LikeLike
Umm..yes.I think u can add it just by modifying the php files..
Regards
Om
LikeLike
can you give me any examples?? ….do i need to host the .swf file somewhere else and add some code in custom CSS ?? im really a newbie on this stuff. thanks heaps!
LikeLike
Hi,
Don’t mind..are you using wordpress.com self hosted site?
If yes then i think you can’t do the changes…
Regards
Om
LikeLike
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
LikeLike
Ken..
Yes.. it is possible but need to modify the php files and checking(which file to modify)…
Regards
Om
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
Wondering why I keep receiving e-mails from postings here. How to turn it off??
LikeLike
๐ฆ
Dont know Kenneth…
LikeLike
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?
LikeLike
Hi Lenfarneth
Would you mind to share me your website URL to check?
Regards
Om
LikeLike
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
LikeLike
Great Bryan…, ๐
If you are happy let me buy a coffee…
Regards
Om
LikeLike
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
LikeLike
HI,
Thanks for your kind information.. ๐
Regards
Om
LikeLike
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.
LikeLike
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
LikeLike
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
LikeLike
Hi,
You need to modify your php files for this…
Regards
Om
LikeLike
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 ๐
LikeLike
HI Anna…..
I checked your site in IE and Firefox but there is no gap between Header Image and Navigation Menus in your site….
Would you mind to clear me the problem?
Regards
Om
LikeLike
thank-you – must have had gremlins, it looks fine on mine now too, ty for looking for me and sorry for wasting your time ๐
LikeLike
Hi Anna…
Its Ok..not Problem.. Just let me know if you have any problem to your wordpress site.
Regards
Om
LikeLike
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.
LikeLike
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
LikeLike
Hello, ty for getting back to me ๐ the code soes work although looks a little different in ie9 a massive improvement though ty ๐
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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!
LikeLike
Hi Victoria..
would you mind to mail me the style.css at om2000_cuet@yahoo.com?
Regards
Om
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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
LikeLiked by 1 person
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
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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?
LikeLike
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
LikeLike
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 ๐
LikeLike
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
LikeLike
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;
}
LikeLike
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 ?
LikeLike
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. ๐
LikeLike
Hi Johnny…..
Nice to know my solution works for your…..
Please let me know if you have any problem ๐
Regards
Om
LikeLike
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/
LikeLike
Hi Ray…
Try the following code and let me know it works or not (paste it at the bottom of style.css)
#content {
background: none repeat scroll 0 0 transparent;
color: #333333;
display: inline;
float: left;
height: auto;
margin-top: 0;
padding-bottom: 100px;
width: 960px;
}
Regards
Om
LikeLike
Hi again Om,
I added the code but it still looks the same ๐ฆ
LikeLike
HI Ray… add me in skype.. om2000_cuet is my id.
Regards
Om
LikeLike
Hey Om,
Thanks very much again for the help. Just another quick question, which section of the css modifies the space between each posts/entries on the page? I just noticed the blog entry titles of the previous post are too close to the top entry.
http://www.stuffraymakes.com/rayblogs/
LikeLike
Hi Ray….
TO give space between each post try this following css at the bottom of style.css
article {
margin-bottom: 23px;
}
let me know it works for you or not.
Regards
Om
LikeLike
Hi Om,
Thanks for the reply. I’ve tried the code and it didnt work. maybe something is getting in the way again?
LikeLike
Hi Ray..
Where you pasted the code? have u pasted it correctly at the bottom of style.css?
Regards
Om
LikeLike
Hello Om!
Hope you enjoyed the coffee…
LikeLike
Hi Luiz….
Yes… thanks a lot for the coffee… ๐
Regards
Om
LikeLike
Thank you very much for your kind info. This article help me alot to modify this theme.
LikeLike
Thats Really Great ๐
Thanks for visiting my blog..
Regards
Om
LikeLike
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
LikeLike
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
LikeLike
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.
LikeLike
Hi Bryan..
Yes..you can try…. and let me know it works for u or not..
REgards
Om
LikeLike
Hi Om
Yeh, i pasted it at the bottom of style.css (i tested it with and without # in front of ‘article’)
LikeLike
Hi Ray..
Paste the code again (without # ) and let me know..
REgards
Om
LikeLike
Hi Om
Tried it too and it didnt work ๐ฆ
LikeLike
Come Online Ray..let me check
LikeLike
ok im online ๐
LikeLike
great work and awesome help! thanks for everything Om
LikeLike
๐ Thanks Ray…
LikeLike
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
LikeLike
Hi Alan…
WHy your site is not loading? anything wrong?
would you mind to check it please?
Regards
Om
LikeLike
Coffee purchased mate, and i encourage all who get some of your great (fast) help, do the same ! nice work Om.
Cheers
LikeLike
THanks Bryan. ๐
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
Hi Ross….
NIce to hear that my code work…are you asking me where i am from ? I am from Bangladesh ๐
Regards
Om
LikeLike
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
LikeLike
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
LikeLike
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;
}
LikeLike
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
LikeLike
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
LikeLike
Thanks Om – it worked! Just bought you a coffee (paypal user name = screendraft).
Thanks for all your help!
Cheers
Ross
LikeLike
Hi Ross…
๐ yes..got it..thanks..
Regards
Om
LikeLike
Which of your post? I have only my post in my admin area…
Regards
LikeLike
Means..you want me to remove all of your previous comments?
Regards
LikeLike
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
LikeLike
Hi Kweinstein..
Is your site password protected? would u mind to open it for my better understanding?
Regards
Om
LikeLike
it’s open now
thanks
kathryn
LikeLike
Hi Kathryn..
what is the actual size of your banner? would u mind to share me the link of your actual banner?
Regards
Om
LikeLike
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
LikeLike
Hi Kathryn…
give me some time and let me check it if i get any solution or not…do you have skype?
Regards
Om
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
HI Chris…
CHeck the demo here…
http://2011.everythingregarding.com/?p=1
are you asking for this type of side bar in every single post page?
Regards
Om
LikeLike
I have a LOT of white space between posts. How do I remove that?
Your above post was a HUGE help. Thank you!
~V~
LikeLike
HI Virginia
Would you mind to share me your website URL.?
Regards
Om
LikeLike
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;
}
LikeLike
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
LikeLike
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.
LikeLike
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
LikeLike
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?
LikeLike
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
LikeLike
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. ๐
LikeLike
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
LikeLike
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
LikeLike
Hi Izabela..
would you mind to share your website URL to check?
Regards
Om
LikeLike
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
LikeLike
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
LikeLike
Thanks for the reply but the changes did not effect…
I can not think of anything more.
Any ideas?
Thanks.
LikeLike
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
LikeLike
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.
LikeLike
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
LikeLike
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.
LikeLike
HI…
Nice to know the code works….
If you are happy..let me buy a coffee…. ๐
Regards
Om
LikeLike
Hi
Was wondering how to reduce the space beneath “Continue Reading” on the front page of the Twenty Eleven theme
Thanks, Henry Swanson
LikeLike
HI Henry..
Paste the following code and let me know it works for your or not ๐
.hentry, .no-results {
border-bottom: 1px solid #DDDDDD;
margin: 0 0 1.625em;
padding: 0 0 0;
position: relative;
}
div.entry-content p {
margin-bottom: .5em;
}
Regards
Om Prakash Chowdhury
LikeLike
Excellent! Thanks for all your help.
LikeLike
Welcome Henry…
If you have any problem..let me know..
๐
Regards
Om
LikeLike
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?
LikeLike
HI there…
Would you mind to share me your website address?
Regards
Om
LikeLike
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 =)
LikeLike
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
LikeLike
That worked just fine. You’re brilliant! Thanks a ton. =)
LikeLike
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.
LikeLike
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
LikeLike
Hi
Just try from “Appearance–>Menu” . there you will get the options to add categories ,pages and others..
Regards
Om
LikeLike
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
LikeLike
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
LikeLike
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
LikeLike
Hi Jesus..
Share me your site address…
Regards
Om
LikeLike
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.
LikeLike
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
LikeLike
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.
LikeLike
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
LikeLike
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
LikeLike
Hi Tom..
After a long time.. How are u?
Yes..mail me the details…i will try my level best to mail u back asap.
Regards
Om
LikeLike
Thanks for the help again Om, another coffee coming your way!!! ๐
LikeLike
HI Tom..
thanks a lot. for your coffee ๐
Regards
Om
LikeLike
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.
LikeLike
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
LikeLike
Hi Om,
I’ve tried that but it doesn’t work. I’ve tried playing around with the margin and the width %, but the image width is fixed at 644px.
LikeLike
HI Niza..
Sorry for the late as i was busy yesterday…
Your right sidebar is squeezed…have u changed something?
Regards
Om
LikeLike
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
LikeLike
Hi Andria
Thanks for your comments. WOuld you mind to paste the following code at the bottom of style.css and let me know it works for you or not?
#branding .only-search + #access div {
padding-right: 0;
}
#access div {
margin: 0 2.6%;
}
Regards
Om
LikeLike
Marvelous! Worked perfectly.
Again, thank you a million times over for your help!
LikeLike
Really Great Andria..
Let me know if you have any problem
Regards
Om
LikeLike
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.
LikeLike
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
LikeLike
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!!!
LikeLike
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
LikeLike
@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.
LikeLike
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
LikeLike
Hello!!! Yes It did work. I was able to make it all happen. Check it out!
But I am sure you have helped a lot of people with this neat little trick!
LikeLike
Hi Lee..
Let me know if you need any help..
regards
Om
LikeLike
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
LikeLike
HI,
Good Morning…Would you mind to share me your website URL for checking?
Regards
Om
LikeLike
blog.abovebelowcreative.com
Thanks
LikeLike
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
LikeLike
I would also like to remove the black navigation bar completely.
Any help will be greatly appreciated
LikeLike
Hi
To remove the black navigation bar completely from twenty eleven theme
#access {
display: none;
}
REgards
Om
LikeLike
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!
LikeLike
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
LikeLike
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
LikeLike
HI,
wc
let me know if you have any question regarding wordpress and css..
Om
LikeLike
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
LikeLike
the link for my site is http://howieorgan.wordpress.com/
LikeLike
HI, you want “Howie & Organ Engineering Pty Ltd ABN 27 097 035 473” at the footer section where “Theme: Twenty Eleven | Blog at WordPress.com. ” is located??? pls let me know..
Regards
Om
LikeLike
Yes Please
LikeLike
Hi,
It is not possible as you are using wordpress.com free blog, because wordpress.com does not allow the user to modify the php file…
Regards
Om
LikeLike
is it possible to appear just above that or it cannot go there at all?
LikeLike
Have you tried with Footer side WIdgets?
LikeLike
Thanks i just added it with the widget
can i make it centre to the screen though?
LikeLike
HI,
Paste the following code at the bottom of style.css
#text-2 .widget-title {
text-align: center;
font-size: 1.3em;
}
let me know it works for you or not
Regards
Om
LikeLike
worked thanks ๐
LikeLike
Hi,
Thats great… Let me know if you have any css/wordpress related problem….
and if you are happy let me buy a coffee.. ๐
Regards
Om
LikeLike
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!?!
LikeLike
HI Lee…
Sorry…i didn’t understand your requirements..would you mind to clear?
About coffee
I didn’t get any coffee from you… ๐ฆ so, how to taste?
Regards
Om
LikeLike
Ah..Don’t mind Lee..Yes..I got it..sorry..just checked it.. ๐
Om
LikeLike
I would like to move the sidebar from the left to the right side of the page on my home page. http://omgiatest.com
And It came from slee@wim about 5 minutes ago. You do a great job for all of us so I have to make sure you keep up the great work!
LikeLike
HI Lee..
Yes..i got it ๐ thanks a lot..
And.. yes you can move that sidebar from Left to right..would u mind to try the following code and let me know it is OK or not ?
.page-template-showcase-php #main .widget-area {
float: right;
margin: 0 1.15% 0 0;
width: 22.15%;
}
.page-template-showcase-php section.recent-posts {
float: left;
margin: 0 0 0 1%;
width: 69%;
}
Thanks again
Regards
Om
LikeLike
Works great!!! Thanks Enjoy that coffee!
LikeLike
thanks Lee ๐
Om
LikeLike
Hey. I would like to remove both archives and meta from the sidebar. Is that possible? I’m a completely newbie.
LikeLike
HI Chris…
Share me your website address…
Om
LikeLike
sorry. its’s http://christian.irmer.com/
i also want to remove “posted on”, “posted i”n and “prodly presented by…” but that might be problems i’m able to solve myself after some hours of work. just “wrote” and installed my first child theme, thats my experience in programming ๐
LikeLike
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!
LikeLike
HI Chris..
sorry for the late to reply you..was busy with some house hold work ๐ฆ …
If you need any help just let me know..
Good night for now… ๐
Om
LikeLike
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
LikeLike
Hi Bill…
Thanks man.. ๐ got your coffee…
Om
LikeLike
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?
LikeLike
HI,
paste the following code at the bottom of style.css
.singular.page .hentry {
padding: 2.5em 0 0;
}
Regards
Om
LikeLike
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.
LikeLike
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
LikeLike
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
LikeLike
HI Tunde…
just checked your site… without checking the files of your plugins it is tough to reduce this gap.
Om
LikeLike
So u suggest I leave it that way or find another plugin right?
LikeLike
Hi Tunde,
yes, you can try other plugins…though there is a solution for your present problem but you need to check your plugins file for this…
Regards
Om
LikeLike
Ok. I don’t mind checking the plugin files
LikeLike
hi,
where i can found the author comment in css
to make a change
many thanks
LikeLike
HI,
would you mind to clear me your problem again?
regards
Om
LikeLike
an other question,
can i add ip address under the date on comments
name
date – time
ip adress
thanks a lot
LikeLike
HI Joe..
I think you can add.. though i don’t know the code which shows the ip address..if you provide me the code, i will try and will let u know..
Om
LikeLike
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.
LikeLike
Hi Bob,
I need to check your requirements….Would you mind to provide me the images ? I will check them in my hosting and will let you know..
Regards
Om
LikeLike
Dumb question i know, but the reply box below does not allow me to upload images. Would you like me to send via email and if so, please provide address…
LikeLike
HI Bob.
Sure, Just mail me at om2000_cuet@yahoo.com. But i need some time to show you the progress..
Regards
Om
LikeLike
Hi Om,
here is the code to get the ip
()
many thanks
LikeLike
Joe,
mail me the code, my mail address is om2000_cuet@yahoo.com
also,
in the mail, please describe what you want again.. ๐
OM
LikeLike
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.
LikeLike
HI Kristian
Your site is not showing..would you mind to check it?
Regards
Om
LikeLike
Oh, sorry. I am working on a simple html site to redirect to my school portfolio. Until it’s up and running go to: kristianmaar.dk/portfolio. Nothing there yet since I’m tweaking the css before I add any content.
LikeLike
Ok, just let me know when you will finish it..
Regards
Om