WordPress.org

Forums

Duena
How to override Twitter Bootstrap Style sheet declaration with child theme? (3 posts)

  1. nouman.nazim
    Member
    Posted 1 year ago #

    I have created child theme on Duena theme. I am able to override all the styles declared in style.css file of Duena but some of the styles are declared in Twitter Bootstrap .css file. How i can override those styles ?

    Currently I am using !important in child theme style.css to override bootstrap .css file but my layout breaks when I apply !important to resize elements.

  2. niallolaoghaire
    Member
    Posted 1 year ago #

    I've been having a similar problem posted here My workaround was to rename the bootstrap.min.css file in the parent theme & the function then kicks in, not satisafctory but if any upgrade of the parent theme happens I'll know just to rename the css file

  3. dongallucci1
    Member
    Posted 11 months ago #

    I have the same problem as well with a style in bootstrap.min.css. I can change the original file to get the desired result, but I would like to do it in a child stylesheet to avoid future problems. How do I pull other stylesheets through my child stylesheet to override other styles? I tried a solution that didn't work, so thought I'd ask for help. Tia.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic