Override a css value from a third party lib

bobbyrne01

I'm using a third party css library for styling, but I'd like to specify a different min-height for a particular div.
The div is using themeRow class which has a number of attributes and sets:

min-height: 200px

In my case this is much too large, and i'd like to set a different value i.e

min-height: 75px

So i've defined some inline css but my value is being ruled out when rendered and the div still draws at min-height: 200px

Any way I can tell css to use my value instead of the third party value?

<style>
.bannerHeight {
    min-height: 75px;
}
</style>


<div class="themeRow bannerHeight"></div>
Fahad Hasan

You can use !important to override the min-height: 200px value which is being assigned to your <div> by the third-party library. Try using this CSS:

<style>
.bannerHeight {
    min-height: 75px !important;
}
</style>

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Can't override a maven dependency from third party lib -NiFi

From Dev

Mapping value objects from third party libraries

From Dev

Third party helper override doesn't work

From Dev

use third party lib in angular directive

From Dev

Symfony2 Override part of template from third-party bundle

From Dev

How can i get the min value and max value from the rc slider third party component

From Dev

How to manage clashing third party CSS

From Dev

How to override third party default styles using Styled Components

From Dev

Async TPL deadlock with third party lib aka wild goose chase

From Dev

Using third party dll in Qt (No .lib file available)

From Dev

Using third party dll in Qt (No .lib file available)

From Dev

Exposing third-party lib (Firepad) methods in a React component

From Dev

Overiding URL pattern from a third party app

From Dev

Getting information from a third party Wiki page

From Dev

Expect a 'Type' from third party library functions

From Dev

Install a binary from a third party package in yocto

From Dev

importing javascript modules from a third party library

From Dev

Post from controller action to third party website

From Dev

Override value css

From Dev

CSS reset interferes with a third party HTML/CSS component

From Dev

CSS reset interferes with a third party HTML/CSS component

From Dev

Windows Phone - Add CSS to WebBrowser displaying third-party webpage

From Dev

Ignore URL resolving in third-party CSS files

From Dev

Domino Agent struggling with Java security using third party jar in /jvm/lib/ext

From Dev

Steps in using a java third party library from clojure

From Dev

Get individual values from Third Party Response Data in HTML page

From Dev

javassist get CtClass from a third party library/jar

From Dev

How to include headers from a third party package in Go?

From Dev

Extracting information from a third-party Python module?

Related Related

  1. 1

    Can't override a maven dependency from third party lib -NiFi

  2. 2

    Mapping value objects from third party libraries

  3. 3

    Third party helper override doesn't work

  4. 4

    use third party lib in angular directive

  5. 5

    Symfony2 Override part of template from third-party bundle

  6. 6

    How can i get the min value and max value from the rc slider third party component

  7. 7

    How to manage clashing third party CSS

  8. 8

    How to override third party default styles using Styled Components

  9. 9

    Async TPL deadlock with third party lib aka wild goose chase

  10. 10

    Using third party dll in Qt (No .lib file available)

  11. 11

    Using third party dll in Qt (No .lib file available)

  12. 12

    Exposing third-party lib (Firepad) methods in a React component

  13. 13

    Overiding URL pattern from a third party app

  14. 14

    Getting information from a third party Wiki page

  15. 15

    Expect a 'Type' from third party library functions

  16. 16

    Install a binary from a third party package in yocto

  17. 17

    importing javascript modules from a third party library

  18. 18

    Post from controller action to third party website

  19. 19

    Override value css

  20. 20

    CSS reset interferes with a third party HTML/CSS component

  21. 21

    CSS reset interferes with a third party HTML/CSS component

  22. 22

    Windows Phone - Add CSS to WebBrowser displaying third-party webpage

  23. 23

    Ignore URL resolving in third-party CSS files

  24. 24

    Domino Agent struggling with Java security using third party jar in /jvm/lib/ext

  25. 25

    Steps in using a java third party library from clojure

  26. 26

    Get individual values from Third Party Response Data in HTML page

  27. 27

    javassist get CtClass from a third party library/jar

  28. 28

    How to include headers from a third party package in Go?

  29. 29

    Extracting information from a third-party Python module?

HotTag

Archive