Changing CSS Gradient

  • Author
  • #737020


    I am trying to change that red gradient that appears in the post date box. I copied the current css code, changed the hex values how I wanted, but its still not changing. thoughts ?

    this is the standard value for it –

    .post-date .month {
    color: #fff;
    font: 11px/100% Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    padding: 2px 0;
    width: 100%;
    position: relative;
    left: -1px;
    top: -1px;
    border: solid 1px #a11216;
    background: #cb151b;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eb1c24', endColorstr='#a30c10');
    background: -webkit-gradient(linear, left top, left bottom, from(#eb1c24), to(#a30c10));
    background: -moz-linear-gradient(top, #eb1c24, #a30c10);
    background: linear-gradient(-90deg, #eb1c24, #a30c10);
    -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 0 rgba(0,0,0,.2);
    box-shadow: 0 1px 0 rgba(0,0,0,.2);
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

    The blog I need help with is


    Did you try saving the stylesheet to see if CSS Tidy is stripping out some of the CSS? The reason I ask is that it has in the past stripped out gradient stuff. The original CSS isn’t run through Tidy, so the stuff isn’t stripped out.

    If using preview, alway make sure and force refresh the preview page as it sometimes does not display the changes.



    It looks like its stripping out 2 lines from the original CSS.



    Staff are going to be working on the CSS Tidy issue so that it doesn’t strip stuff that is in the original stylesheet, but no on knows how soon that will happen. It’s frustrating right now since there are certain design changes you cannot make to some of the more advanced themes that use CSS3.

    Hang in there is about all I can suggest.



    thanks again sacred.

    they should rename the feature to “somewhat custom options” for now .. haha. :)


    Or Semi-custom CSS?


The topic ‘Changing CSS Gradient’ is closed to new replies.