Title: code in sidebar.php does not work
Last modified: August 18, 2016

---

# code in sidebar.php does not work

 *  [kos](https://wordpress.org/support/users/kos/)
 * (@kos)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/code-in-sidebarphp-does-not-work/)
 * I would like a thin line (in my sidebar.php), a separation between the section‘
   about’,’links’, ‘pages’,..
    a simple line. but when I put the code in sidebar.
   php it does not work. <HR COLOR=blue> or <hr color=’blue’ width=’35%’> has no
   effect at all.
 * maybe it has something to do with the style.css?
    can someone point me in the
   right direction please. what am I doing wrong

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

 *  [Les Bessant](https://wordpress.org/support/users/lesbessant/)
 * (@lesbessant)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/code-in-sidebarphp-does-not-work/#post-275376)
 * A link to your site would help…
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/code-in-sidebarphp-does-not-work/#post-275386)
 * probably because your css has “hr { display:none }” in it.
 * P.S. If you did not know, that is not valid XHTML code. And LesBessant is correct,
   a link to your blog in your preferences will lead to more and quicker help.
 *  Thread Starter [kos](https://wordpress.org/support/users/kos/)
 * (@kos)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/code-in-sidebarphp-does-not-work/#post-275426)
 * sidebar.php is the one from default theme. [http://paste.uni.cc/7929](http://paste.uni.cc/7929)
   
   and so is style.css [http://paste.uni.cc/7928](http://paste.uni.cc/7928) I don’t
   see a hr { display:none } in it..
 * what do you mean, not the right code? 🙂
    it works in every .php outside my blog
   what is the xhtml code than that I need? does anyone know
 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/code-in-sidebarphp-does-not-work/#post-275427)
 * Hey Beel, when did you get the wp-forums-mind_reader plugin? And where can I 
   get it?
 * *still trying to figure out how Beel got to the site & CSS w/o a link*
 * -tg
 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/code-in-sidebarphp-does-not-work/#post-275428)
 * kos – in the pastebin at line 590… just like Beel said…
 * -tg
 *  Thread Starter [kos](https://wordpress.org/support/users/kos/)
 * (@kos)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/code-in-sidebarphp-does-not-work/#post-275431)
 * oh dear, I did not see that 😀 I will order glasses.
    thank you all so much, 
   I spend hours on this one..

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

The topic ‘code in sidebar.php does not work’ is closed to new replies.

 * 6 replies
 * 4 participants
 * Last reply from: [kos](https://wordpress.org/support/users/kos/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/code-in-sidebarphp-does-not-work/#post-275431)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
