Title: Weird CSS issue
Last modified: August 24, 2016

---

# Weird CSS issue

 *  Resolved [Weavers](https://wordpress.org/support/users/weavers/)
 * (@weavers)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/weird-css-issue-1/)
 * Hi All,
    I’m trying to figure out what/why this is keeps happening cause I really
   don’t understand it. I have a css ribbon that i’m trying to change. Every time
   I change the attributes, it works initially (even with a refresh in the browser)
   but then it reverts back to the original codes. I’ve tried editing it in Dreamweaver
   and directly on Transmit but nothing happens.
 * I’m fairly new to WP, so when I debug it, it shows the css as //path/asset/css.
   file?ver4.1.1:#line. I think it’s minifying it?
 * Anyone has an idea what’s going on? My other changes work.

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

 *  [Sean Davis](https://wordpress.org/support/users/sdavis2702/)
 * (@sdavis2702)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/weird-css-issue-1/#post-6023167)
 * It’s hard to say what the issue is. It sounds like caching to me at the moment.
   Are you using any caching plugins or CDN service? Does your host cache your website
   for you? If the answer to any of that is yes, clear all of your caches and disable
   them while making CSS changes.
 *  Thread Starter [Weavers](https://wordpress.org/support/users/weavers/)
 * (@weavers)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/weird-css-issue-1/#post-6023183)
 * Hi Sdavis,
    I’ve tried testing on a different browser that clears cache and it
   still occurs. As a test, I deleted the custom-skin.css file and refreshed the
   page to see what happens and the file was re-generated. I knew something was 
   off when my codes kept getting over-written.
 * Do you have any idea what can do this?
 * Thanks for any feedback/suggestions
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/weird-css-issue-1/#post-6023185)
 * What is the site URL?
 *  Thread Starter [Weavers](https://wordpress.org/support/users/weavers/)
 * (@weavers)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/weird-css-issue-1/#post-6023198)
 * Hey WPyogi,
    The url is [http://www.modernweave.com/_v2/shop/modern-signature/bellezza-variable-2/](http://www.modernweave.com/_v2/shop/modern-signature/bellezza-variable-2/)
 * The specific class i’m looking at is .laborator-woocommerce .product-single .
   product-left-info .ribbon:after {border-left-color:##2e1b00} (The 3D ribbon part
   by the ‘Featured’ text). I’ve tried so many times changing it to border-top-color
   but it keeps coming back as border-left…so frustrating.
 * Any thoughts?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/weird-css-issue-1/#post-6023224)
 * You have a caching plugin – are you clearing it?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/weird-css-issue-1/#post-6023225)
 * And you should also be making any CSS changes by ADDING them to your child theme
   style.css file – if you change other files, your changes will be erased when 
   the theme or plugin is updated…try adding this to your child theme style.css 
   file:
 *     ```
       .laborator-woocommerce .product-single .product-left-info .ribbon::after {
           border-left-color: #2e1b00;
       }
       ```
   
 * And change the color there. Clear SuperCache.
 *  Thread Starter [Weavers](https://wordpress.org/support/users/weavers/)
 * (@weavers)
 * [11 years ago](https://wordpress.org/support/topic/weird-css-issue-1/#post-6023345)
 * Hey WPyogi,
    It turns out writing to the child css worked! thank you so much 
   for your help!
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [11 years ago](https://wordpress.org/support/topic/weird-css-issue-1/#post-6023346)
 * Cool, you’re welcome :)!

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

The topic ‘Weird CSS issue’ is closed to new replies.

 * 8 replies
 * 3 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/weird-css-issue-1/#post-6023346)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
