Posts Tagged 'custom'

How to Change the Sidebar Font Color

This tutorial will help you change color of the text in the sidebar. To learn how to change the color of title of the sidebar click here.

Finished Look:

The highlighted section will be changed.

Go to:

Dashboard / Appearance / Editor / style.css

Code:

.secondary a {
color:#000000;
}

Back End Example:

Your dashboard should look something like this.

Advertisements

How to Widen Page Area

Finished Look:

This will be your website with the new widths in place.

Go to:

Dashboard / Appearance / Editor / style.css

Code:

.columns-two #page {
width: 900px;
}

.columns-two #primary {
position: top left;
width: 600px;
padding: 10px;
}

Back End Example:

Your dashboard should look something like this.

How to Make Your Banner (Header) a Link

This tutorial will help you turn your banner into a link by editing the header.php file. Most sites use this as a convenience for visitors helping them navigate back to the home page.

Finished Look:

The highlighted section will be a link to your chosen URL.

Go to:

wp-content / themes  / k2 / header.php

Scroll to around line 38 and you should see this code <div id=”header”>. Replace this code with the one below.

Code:

<div id=”header” role=”banner” onclick=”location.href=’http://www.YOURDOMAINHERE!!!.com/’;” style=”cursor: pointer;”>

Back End Example:

Your header.php file should look something like this.

How to Remove ‘Comments Are Currently Closed’ in WordPress

If you choose to disable your post comments WordPress leaves behind some ugly text in that space. This technique will remove the ‘0 responses’ and ‘comments currently closed’ text from your post footer.

Finished Look:

The highlighted section will be removed.

Go to:

Dashboard / Appearance / Editor / style.css

Code:

.comments {
display:none
}

Back End Example:

Your dashboard should look something like this.

TIP: CSS Background Reference

TIP:

Use this as a general guide when editing your background. Every time you use another property it will change your theme making it unique. To learn more about CSS click here.

CSS Background Properties:

  • background
  • background-attachment
  • background-color
  • background-image
  • background-position
  • background-repeat
  • background-clip
  • background-origin
  • background-size

TIP: CSS Font Reference

TIP:

Use this as a general guide when editing your font. Every time you use another property it will change your theme making it unique. To learn more about CSS click here.

CSS Font Properties:

  • color
  • font-family
  • font-size
  • font-style
  • font-variant
  • font-weight

How to Change Your K2 Header (Banner) Image

Notice:

When using a child theme you can place the banner image in your custom theme’s ‘headers‘ folder. Each child theme should have an ‘images‘ and ‘headers’ folder. For more on child themes click here.

Design:

Create a header image that you want to use for your site.

TIP:

Images of exactly 780 × 200 pixels will be used as-is. Create your banner that size and you will not have to crop it when you upload.

It’s a good idea to customize the rest of your site to complement the banner after its finished.

Go to:

Dashboard / Appearance / Header

  • Upload your custom header from your computer
  • Choose if you would like to display text (title and description).
  • If you chose to display text insert your color.

Back End Example: