Title: Seemingly basic CSS/theme font question
Last modified: August 19, 2016

---

# Seemingly basic CSS/theme font question

 *  Resolved [joegore](https://wordpress.org/support/users/joegore/)
 * (@joegore)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/seemingly-basic-csstheme-font-question/)
 * Hi folks — a near-newb question:
 * I’m creating a wp site around the “Sliding Doors” theme, which I’m currently 
   customizing via the style.css file. So far, trial-and-error has been working 
   just fine. But I hit a snag . . .
 * I want the headlines of each post and the elements in the content sidebar to 
   be in a sans-serif font, but they currently display in my browser’s default (
   serifed) font. A search through the style.css file for the word “font” reveals
   only only sans-serifed fonts (plus the slab-serifed courier, which I inserted,
   and which displays as desired).
 * Here is an annotated [screenshot](https://files.me.com/joegore/ba1fkh) highlighting
   the problem areas. Or the opus in progress can be viewed in all its disarray 
   at [http://www.joegore.com/wordpress](http://www.joegore.com/wordpress).
 * Is it expected behavior that the fields I want to change appear in the browser’s
   default font? And can anyone advise me on inserting code to get the sans-serifed
   satisfaction I seek?
 * Thanks in advance for any help — especially super-specific, bonehead-friendly
   help! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/seemingly-basic-csstheme-font-question/#post-1624097)
 * Try adding the appropriate `font-family` rule to `.sidebar` and `.post h2`.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/seemingly-basic-csstheme-font-question/#post-1624107)
 * close the open double quotes on the first font name in this style:
 *     ```
       body {
       	text-align: left;
       	color: #000;
       	font-family: "Lucida Sans Unicode, Lucida Grande, sans-serif;
       	background-color: #fff;
       }
       ```
   
 * in style.css of your theme
 * [http://www.w3schools.com/CSS/pr_font_font-family.asp](http://www.w3schools.com/CSS/pr_font_font-family.asp)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/seemingly-basic-csstheme-font-question/#post-1624114)
 * Oh – I totally missed that! :-/
 *  Thread Starter [joegore](https://wordpress.org/support/users/joegore/)
 * (@joegore)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/seemingly-basic-csstheme-font-question/#post-1624117)
 * Thanks so much. I tried that out, and it didn’t do the trick — but I have to 
   assume that’s operator error.
 * _Here’s how the sections of code looked before I changed them:_
 *     ```
       #content .post h2 a {
       	color: #FFF;
       	text-decoration: none;
   
       	padding: 3px 0;
       	font-size: 24px;
       	font-weight: bold;
       ```
   
 * _…and…_
 *     ```
       #sidebar h2 {
       		font-weight: normal;
       		font-size: 16px;
       		text-transform: uppercase;
       		margin-bottom: 10px;
       	padding-top: 8px;
       ```
   
 * _…and after:_
 *     ```
       #content .post h2 a {
       	color: #FFF;
       	font-family: "Lucida Sans Unicode, Lucida Grande, sans-serif;
       	text-decoration: none;
       ```
   
 * _…and…_
 *     ```
       #sidebar h2 {
       		color: #FFF;
       		font-family: "Lucida Sans Unicode, Lucida Grande, sans-serif;font-weight: normal;
       		font-size: 16px;
       		text-transform: uppercase;
       		margin-bottom: 10px;
       	padding-top: 8px;
       ```
   
 * As you can see when clicking on the link in my initial post, there’s no font 
   change. (I’m leaving in the newly-edited code for now.)
 * But of course, I could be — probably am — doing something incredibly dumb. Anyone
   have a clue?
 * Thanks a zillion!
 *  Thread Starter [joegore](https://wordpress.org/support/users/joegore/)
 * (@joegore)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/seemingly-basic-csstheme-font-question/#post-1624118)
 * Whoops — posted my last that before receiving alcymyth’s reply. Going to check
   that out now. 🙂
 *  Thread Starter [joegore](https://wordpress.org/support/users/joegore/)
 * (@joegore)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/seemingly-basic-csstheme-font-question/#post-1624119)
 * Bingo! Thanks so much, guys! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Seemingly basic CSS/theme font question’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [joegore](https://wordpress.org/support/users/joegore/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/seemingly-basic-csstheme-font-question/#post-1624119)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
