Okay
  Public Ticket #1982813
Child css tweaks
Closed

Comments

  • KBock started the conversation

    Hi guys, first of all - awesome theme! Searched for days to find a gem like this.


    Now I want to tweak the css of the child theme which you guys already prepared. No problem there.

    I want to tweak css in css/portfolio.css - so heres what I did.

    I copied the css folder from the grenada mother folder to the child theme folder.

    When i tweak the css/portfolio.css nothing gets applied in my website. Any Idea what is the problem here?

  •  1,974
    Support replied

    Hi there

    we value your appreciation, first of all.

    It is not recommended to either modify the theme's file directly or duplicate parent's files.

    What you can do is add your changes in child theme's style some css.

    for example let's suppose you have in portfolio.css the following:

    .some_div_class{

      font-size:15px;

      line-height:20px;

    ... other attributes here...

    }

    and you want to modify only the font size, you would add in child's style.css only:

    .some_div_class{

      font-size:16px !important;

     }

    and you add also !important to make sure it takes precedence over the parent's attributes


    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy