Created on 16 May 2023, over 1 year ago
Updated 11 June 2023, over 1 year ago

adding css like below as additional code does not work.

.header {
background-color: #b6a1b4;
}

🐛 Bug report
Status

Closed: cannot reproduce

Version

10.0

Component

User interface

Created by

🇦🇫Afghanistan lovedrupal6

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @lovedrupal6
  • 🇮🇳India ravis

    1) Make sure to check the option: Enable Addtional CSS

    2) Clear cache after adding css codes.

    example.com/admin/config/development/performance
    
  • 🇦🇫Afghanistan lovedrupal6

    Thanks ravis.
    Have indeed enabled additional css and cleared cache and the theme is very selective in what it changes through the additional code

    Worked:

    legend {
    font-weight: bold;
    }

    Doesnt work

    .site-name a, .site-name a:hover {
    color: #9d4d4d;
    }

    .site-name {
    font-size: 2rem;
    font-weight: bold;
    text-transform: lowercase;
    }

    .header {
    background-color: #b6a1b4;
    }

    #footer {
    background: #8d602f url(/themes/tara/images/footer-bg.svg);
    }

    .sidebar-right {
    background-color: #ef993a;
    }

    .image-field {
    margin: 0rem 0rem 0rem 0rem;
    }

    .td {
    padding: 10px;
    }

  • Status changed to Closed: cannot reproduce over 1 year ago
  • 🇮🇳India ravis

    Hello,

    I just checked one css code provided by you in reply #3
    And its working at me end.

    .site-name a, .site-name a:hover {
    	color: red;
    }
    

    Regards:

Production build 0.71.5 2024