Overwrite default.css

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5074
    simhem74
    Member

    Hi,
    How can I overwrite the default.css I want to add/change in:

    .image-info, .team-member .team-member-hover {
    	background: #DC4637;	
    	background: rgba(24,17,245,0.8);
    }

    Do I need to add another child css for the default.css?

    #5076
    simhem74
    Member

    I tested with a child @import url(“../extinct/css/skins/default.css”) but it does not work.

    #5094
    Nexus
    Moderator

    You just have to put the code into custom css in the theme options. If that doesn’t work try the below one

    .image-info, .team-member .team-member-hover {	
    	background: rgba(24,17,245,0.8) !important;
    }

    Adding to custom css makes sure that the code remains even after you update the theme files.
    Hope that helps. Thanks!

    #5103
    Raghavendra
    Moderator

    Pls see some related discussion here on how to handle these cases in WordPress. You are better off creating a new CSS file as suggested there.

    https://www.livemeshthemes.com/support/forums/topic/child-theme-css-overrides/

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Extinct Theme Support’ is closed to new topics and replies.