30 simple (but useful) Woothemes Canvas CSS tweaks

The Canvas theme framework from Woothemes is in my view, the most flexible and powerful WordPress theme available.

You can do so many cool things with Canvas without having to dive into any code. However, there are times when you’ll want to tweak Canvas and with that in mind, I’ve put together the following list of 30 useful CSS tweaks.

Note: many of these CSS customisations have been sourced by trawling through the woothemes forums in an attempt to include the most popular and useful requests. If you have your own useful Canvas CSS tweak, please let me know and I will add it to the list!

Check out more Woothemes Tutorials on the Pootlepress Academy

ALSO…

Check out our brand new Menu Pack for Woothemes Canvas

pootlepress menu pack

Create beautiful menus with 1 click

WATCH A VIDEO DEMONSTRATION

 

Just add the following bits of CSS to your custom.css file (dashboard/appearance/editor) and sit back and marvel at your work.


Share on Facebook, Twitter and Google+

30 Canvas CSS tweaks

#1: Remove Page Titles

.page .title {
display: none;
}

#2: Remove page title from a specific page
Change the page id 200 for this one to work

.page-id-200 .title {
display: none;
}

#3: Remove image border

.entry img, img.thumbnail {
  background: none;
  border: medium none;
  padding: 5px;
}

 

#4: Change colour of drop down menus

/* Changes the default background color of the drop down menus */
.nav li a:hover, .nav li.current_page_item a, .nav li.current_page_parent a, .nav li.current-menu-ancestor a, .nav li.current-menu-item a, .nav li.current_page_item li a, .nav li.current_page_parent li a, .nav li.current-menu-ancestor li a, .nav li.current-menu-item li a, .nav li.sfHover a { background:#D0D9E0; }
/* Changes the hover background, text and text shadow color  */
.nav li ul li a:hover, .nav li.sfHover ul li a.sf-with-ul:hover { background:#316594; color:#FFFFFF; text-shadow:0 1px 0 #000;}
/* Changes the default background color of a drop down menu with a child */
.nav li ul li, .nav li.sfHover ul li a.sf-with-ul { background: none repeat scroll 0 0 #D0D9E0; }

 

#5: Change the header image per page

To change the header background image per page use the following. xxxx is whatever the page id number is for the page.

.page-id-xxxx #header {
    background: url("imageurl") no-repeat scroll 0 0 transparent; }

#6: Remove next/previous buttons on Magazine slider

  .magazine #loopedSlider a.previous, .magazine #loopedSlider a.next {
  display: none;
}

#7: To change the colour and transparency of block text on sliders

#loopedSlider .content p, #loopedSlider .content h2 {
background:rgba(255, 255, 255, 0.7);
}

#8: Remove white space above the slider

#navigation {
margin-bottom: 0px;
}
.home .breadcrumbs {
margin-bottom: 0;
}

#9: Remove breadcrumbs from your homepage

.home .breadcrumb {
    display: none;
}

#10: Remove space between Header and Primary Navigation

#logo a img {
    display: block;
}

#11: Align top menu to the right

#top-nav {
    float: right;
}

#12: Change the background colour of Sliders

#loopedSlider .slides { background: #EEE;}

#13: Add padding to Wootabs

#woo_tabs-3.widget {
    padding: 0;
}

#14: Remove the footer on the homepage

.home #footer-widgets {
    display: none;
}

#15: Add underline hover to navigation items

.nav a:hover {
    text-decoration: underline;
}

#16: Customise caption style

.entry .wp-caption-text {
    -moz-font-feature-settings: normal;
    -moz-font-language-override: normal;
    -x-system-font: none;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 11px;
    font-size-adjust: none;
    font-stretch: normal;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 22px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    text-align: center;
}

 

#17: Delete Author and Post date

.post-meta { display:none; }

#18: Add rounded corners to Portfolios

#portfolio img {
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}

#19: Add an image to the footer area

#footer {
background:url(<a href="http://link-to-your-image.com/image.jpg" rel="nofollow">

http://link-to-your-image.com/image.jpg</a>);

}

#20: Remove ‘comments are closed’ message

.nocomments {
display: none;
}

#21: Remove the words ‘You are here’ in breadcrumbs

.breadcrumb-title {
    display: none;
}

#22: Centre ‘Comments and Continue reading’

a.more-link {
    display: block;
    text-align: center;
}

.post-more {
    text-align: center;
}


#23: Centre Navigation

Change the value 400 to center

#main-nav {
float: none;
margin: 0 auto;
width: 400px;
}

#24: Change the background colour of Main Content

#main {
   background: #fff;
}

#25: Change Sidebar Background Colour

#sidebar {
    background: url("imageurl") repeat scroll 0 0 #FFFFFF;
}

#26: Remove the Header (completely!)

#header {
    display: none;
}

#27: Remove Space between Header and Navigation

#header {
    background-position: center bottom;
}

#28: Change the default height of the Magazine Grid

.magazine .block { min-height: 400px; }

#29: Change font for a single post

1066 is the id of the post in question

.postid-1066 .entry, .postid-1066 .entry p {
font: normal 16px/1.5em Antic;
color: #555;
}

#30: Change Category link colours

.post-meta a:link, .post-meta a:visited, .post p.tags a:link, .post p.tags a:visited
{ text-decoration: underline; color:#888; }

If you want more tutorials check out our Woothemes Canvas Masterclass on the Pootlepress Academy.

About Jamie Marsland

Hi, I am Jamie Marsland the founder of Pootlepress. I have been building websites with WordPress for 6 years. I also co-founded the hyperlocal website LeckhamptonOnline, that is built on WordPress and Buddypress. Prior to founding Pootlepress I was Managing Director of Pavilion Interactive Ltd and Chief Technical Officer of Documedia PLC.

92 Responses to 30 simple (but useful) Woothemes Canvas CSS tweaks

  1. Laurie Edmonds May 16, 2012 at 8:50 am #

    This list should be added on to the WooThemes website under the Tutorials section!

    Quick question: how change you change the background image on a particular page?

  2. Laurie Edmonds May 16, 2012 at 9:26 am #

    One other quick question: how do you choose a featured image for a blog (for the sake of Facebook) but not have it display on the blog post itself? I’m assuming there’s a display: none command but I’m not sure what to prefix it with.

    • Ralph June 2, 2012 at 3:25 am #

      You dont need any specific code. If you you dont want your featured image to display into your single post, just go to Canvas > Theme Options > Dynamic Images…. Untick “Single Post – Show Thumbnail”

  3. dean haycox May 16, 2012 at 10:48 am #

    Some really code there Jamie, I may use some of them as well.

    nice one

    deano

  4. Bronwyn May 31, 2012 at 10:58 pm #

    Hi thanks for this it’s really helpful but (and this maybe a stupid question but I’m new to wordpress) – where in the custom.css file to you put the code? Thanks!

    • Ralph June 2, 2012 at 3:16 am #

      You may want to go to Appearence > Editor. Look at the very bottom on your right, there you’ll find the custom.css file

  5. Ralph June 2, 2012 at 3:26 am #

    Great Post Jamie!

  6. Brian Kirk June 2, 2012 at 6:11 pm #

    Hi Jamie,
    I went to your custom.css file (dashboard/appearance/editor) as recommended but only the canvas.css file is there and it says DO NO EDIT.
    So where is the custom.css editor? Regards Brian

  7. Brian Kirk June 2, 2012 at 6:25 pm #

    Hmmm, Found the custom.css selection at the end of the list of sections to edit.
    Went to custom.css, pasted in tweak #3, then saved the edit. It has no visible effect, could this be because its not a thumbnail, Its a bigger image embedded in the main page ( using your upload to post technique to get the image uploaded and get the html snippet).
    Regards
    Brian

  8. Gina June 5, 2012 at 1:01 am #

    Thank you for posting these tweaks. I am a beginner and just downloaded the canvas theme. I wanted to get rid of the page titles and had an “interesting” experience. I copied and pasted the code in #1 as directed and updated. Nothing changed. Then I deleted your code, updated again, and the page titles were gone! That was great, but, unfortunately a few other things were gone as well. My static home page is fine, but my blog page opens to an error message saying the page is gone….Not a big deal because it’s a brand new website, still in maintenance mode. I have no idea how all this happened, but maybe my experience can be helpful to someone else.

  9. Gina June 5, 2012 at 1:20 am #

    I have an update. I moved the error page out of the menu and made a new blog page. Now all the page titles are back.

  10. Far June 24, 2012 at 12:07 am #

    Very useful, it helped me with “the remove titles from the pages’.
    Good job.
    Cheers.

  11. Thea June 27, 2012 at 7:58 pm #

    Great post Jamie, some very useful tips there.

    I wonder – as a variation of #4, is it possible to style the menu tab backgrounds in *different* colours? (The main backgrounds rather than the drop down elements)

    Thanks,
    Thea

  12. Fred July 3, 2012 at 3:38 pm #

    Remove title from pages also removes the title from the slider and the post grid. Is that supposed to happen?

  13. Marcus Tibesar July 14, 2012 at 8:02 pm #

    With all the new styling changes in the new Canvas version 5; some of these tweaks are outdated or no longer necessary.

    Recommend an update if time permits.

    Thank you.

  14. Stuart Edwards July 26, 2012 at 7:21 pm #

    This is gold!
    Nice one mate!

  15. yury rush August 3, 2012 at 12:50 am #

    Agreed – great post thanks so much! Canvas is a great framework your css above is very helpful.

    YR

  16. Ken August 16, 2012 at 8:05 am #

    Awesome tips!!

    I’ll be booking a course in next few weeks to brush up my woo canvas :)

    Just a quickie – how can I remove the padding at the top of the content area for a specific page (so the slider sits at the top of page).

    Ken :)

  17. joanna traynor August 16, 2012 at 3:26 pm #

    I have tried doing #4 and it doesn’t work – i don;t’ know anything about code so i changed the colour in the snippet to one i wanted – that’s all i did and then i copied it to custom css but it doesn’t do anything – i managed to move my bottom nag to right of logo using this method but i’m wondering if i’m not putting something at beginning or end or if i’m supposed to extract something? i want all my top nag drop downs to be white – and as posted by thea above, i’d quite like my nav tabs background colour to change too – can anyone help?

  18. joanna traynor August 16, 2012 at 3:27 pm #

    for nag read Nav sorry

  19. Lana August 18, 2012 at 4:46 pm #

    Wonderful tweaks! I’m working with #5: Change the header image per page

    I was able to get it to work on one page, but not any others. I’ve rechecked the image URL and page ID multiple times. Any ideas for troubleshooting? Thanks!

  20. pkitano August 25, 2012 at 9:50 pm #

    is there a code to remove the navbar completely? I thought

    .page .title {
    display: none;
    }

    would work but it does not.

  21. AWC August 29, 2012 at 3:06 am #

    Get rid of borders in the nav:

    #navigation ul.nav > li {
    border-right: 0px;
    }

  22. Dennis September 5, 2012 at 4:38 pm #

    Hello there,

    May I know how to remove site title and description in Canvas Wootheme?

    Thanks and Appreciate your help =)

    Regards,
    Dennis.

  23. eric September 10, 2012 at 9:29 pm #

    Great ideas. Thank you.
    #20 doesn’t seem to work for me. Any idea why?

  24. Bram September 24, 2012 at 6:01 pm #

    Can anyone tell me how to change the text in the ‘submit comment’ button under each comments section of a post? Tnx!

    • kele October 1, 2012 at 9:37 pm #

      All you need is to edit file “comments.php” which is in the root of your theme. Check out rows 18-19. To avoid any possible problems with functionality, never edit text if it has no
      ‘woothemes’
      after it. When you see something like “” then you can edit that text. Otherwise you can easily cause some problems if you translate or change text which is not meant to be changed…

  25. kele September 29, 2012 at 11:27 pm #

    Hi,

    Thanks for this awesome WooTheme, it can be highly customized, lots of great options, but I have a small problem that I cant fix.

    I want to change text “You are here” from breadcrumbs to something else, not to remove it. I searched through code but after few hours it ended with no results… Which file contain the code for breadcrumbs? Or is it somewhere in language settings?

    Thanks a lot.

  26. Question October 1, 2012 at 1:39 pm #

    Hi,

    Do you happen to know how I could remove the admin area in Canvas? So I’m talking about the Canvas link in the admin area. Hope you can help me out.

    Best regards.

  27. themaynedesign October 2, 2012 at 7:27 am #

    Nice list of tweaks for Canvas. You might want to tweak the first one as the code you have didn’t work for us, so try this:

    1: Remove Page Titles

    #logo .site-title {display: none !important;}

    1a: Remove Page Description

    #logo .site-description {display: none !important;}

Leave a Reply