Title: child theme css replacement dont work?
Last modified: August 21, 2016

---

# child theme css replacement dont work?

 *  Resolved [Mjkrakowski](https://wordpress.org/support/users/mjkrakowski/)
 * (@mjkrakowski)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/child-theme-css-replacement-dont-work/)
 * Hello!
 * i am using the theme “responsive”.
    in the child theme i added to style.css:
 *     ```
       #logo {
           float: middle;
           margin: 0;
           text-align: center;
       }
       ```
   
 * it should replace the following original:
 *     ```
       #logo {
           float: left;
           margin: 0;
       }
       ```
   
 * this replacement works as it should if i do it directly to original, but in child
   it fails. what is wrong?
    thanks for answers!

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/child-theme-css-replacement-dont-work/#post-4410616)
 * As per the theme developer’s request, please post in the theme’s dedicated forum:
   [http://cyberchimps.com/forum/free/responsive/](http://cyberchimps.com/forum/free/responsive/)
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/child-theme-css-replacement-dont-work/#post-4410686)
 * review
    [http://www.w3schools.com/cssref/pr_class_float.asp](http://www.w3schools.com/cssref/pr_class_float.asp)
 *  Thread Starter [Mjkrakowski](https://wordpress.org/support/users/mjkrakowski/)
 * (@mjkrakowski)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/child-theme-css-replacement-dont-work/#post-4410688)
 * Thanks for answers,
    this is my used solution:
 * #logo {
    margin: 0 auto; width: 500px; float:none; }
 *  [sai_narain](https://wordpress.org/support/users/sai_narain/)
 * (@sai_narain)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/child-theme-css-replacement-dont-work/#post-4410769)
 * Hello Michael,
 * I want to set cookies according to current wordpress category in am in. How can
   i set it? and where?
    I am unable to set it in category pages.
 * Can you please tell me?

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

The topic ‘child theme css replacement dont work?’ is closed to new replies.

 * 4 replies
 * 4 participants
 * Last reply from: [sai_narain](https://wordpress.org/support/users/sai_narain/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/child-theme-css-replacement-dont-work/#post-4410769)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
