Title: Modifying a theme .php &quot;custom_css&quot;
Last modified: August 30, 2016

---

# Modifying a theme .php "custom_css"

 *  [TT](https://wordpress.org/support/users/wallacexpedition/)
 * (@wallacexpedition)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/modifying-a-theme-php-custom_css/)
 * I am making tweaks to my theme that I purchased (using a Child Theme) and I was
   able to make a change to a piece of code in a css file by using a specific selector“
   html .logo_sect {” instead of just “.logo_sect {“
 * Now I would like to change a line of code in a .php file called “css-js.php”
   
   The line is 163 and looks like this: [http://s27.postimg.org/evs1dl1yr/Untitled_1.jpg](http://s27.postimg.org/evs1dl1yr/Untitled_1.jpg)
 * I tried adding this to my style sheet, but it didn’t work. Is there something
   different I need to do because this is a .php file or because it is a css generated
   from the .php file?
 *     ```
       html .main_header {
       		background:rgba(' #ffffff ',0.85);
       		border-bottom:#' . $header_border . ' 1px solid;
       }
       ```
   

Viewing 1 replies (of 1 total)

 *  Thread Starter [TT](https://wordpress.org/support/users/wallacexpedition/)
 * (@wallacexpedition)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/modifying-a-theme-php-custom_css/#post-6278896)
 * hmmmm, I also tried making the change directly in the main theme css-js.php file
   and it didn’t change things

Viewing 1 replies (of 1 total)

The topic ‘Modifying a theme .php "custom_css"’ is closed to new replies.

## Tags

 * [child](https://wordpress.org/support/topic-tag/child/)
 * [childtheme](https://wordpress.org/support/topic-tag/childtheme/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [TT](https://wordpress.org/support/users/wallacexpedition/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/modifying-a-theme-php-custom_css/#post-6278896)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
