This topic has 3 replies, 1 voice, and was last updated 7 years by wilfriedMarseille.

  • Author
  • #158109
     wilfriedMarseille
    Participant

    Hello,

    I make a CPT name “tutoriel”
    But when i add class in HTML
    And when I edit my style.css (ChildTheme)
    The CSS inot working.
    I have to add a function to keep the css.
    Or i have to make a new style_myCPTname.css in my child theme ?

    If you love Ableton check my blog :
    www.zikrea.com

    #158112
     wilfriedMarseille
    Participant

    Sorry it was an error from me … :/

    If you love Ableton check my blog :
    www.zikrea.com

    #158114
     wilfriedMarseille
    Participant

    Re Hello sorry i got a CSS probleme i make a button link
    i don’t know why my button text don’t want take the color.
    Normaly my text is whhite, but CSS stay with a blue text.
    This is my code

    COPY CODE
    /*CPT Telechargement*/
    .btn_telechargement {
      background: #00A3DE;
      background-image: -webkit-linear-gradient(top, #00A3DE, #007ea8);
      background-image: -moz-linear-gradient(top, #00A3DE, #007ea8);
      background-image: -ms-linear-gradient(top, #00A3DE, #007ea8);
      background-image: -o-linear-gradient(top, #00A3DE, #007ea8);
      background-image: linear-gradient(to bottom, #00A3DE, #007ea8);
      -webkit-border-radius: 28;
      -moz-border-radius: 28;
      border-radius: 28px;
      color: white !important;
      font-size: 20px;
      padding: 10px 20px 10px 20px;
      text-decoration: none;
    }
    
    .btn_telechargement:hover {
      background: #00b8f5;
      background-image: -webkit-linear-gradient(top, #00b8f5, #007ea8);
      background-image: -moz-linear-gradient(top, #00b8f5, #007ea8);
      background-image: -ms-linear-gradient(top, #00b8f5, #007ea8);
      background-image: -o-linear-gradient(top, #00b8f5, #007ea8);
      background-image: linear-gradient(to bottom, #00b8f5, #007ea8);
      text-decoration: none;
    }

    And the color stay blue
    I check with my webnavigator the problem is main.a

    I put !important in my white color but the main a color keep …
    And I don’t find the attribute to reduce my button width.

    You can check the page here :

  • http://www.zikrea.com/telechargements/exemple/
  • If you love Ableton check my blog :
    www.zikrea.com

#158120
 wilfriedMarseille
Participant

Sorry it was my cache now the white color is took 🙂 …

If you love Ableton check my blog :
www.zikrea.com

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?