Timeline for My custom CSS is not taken into account
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 15, 2020 at 9:13 | history | edited | CommunityBot |
Commonmark migration
|
|
May 7, 2020 at 5:41 | answer | added | Rohit Tiwari | timeline score: -1 | |
May 2, 2020 at 9:39 | vote | accept | gbmapo | ||
May 1, 2020 at 13:15 | answer | added | gbmapo | timeline score: 1 | |
Apr 30, 2020 at 14:50 | comment | added | gbmapo |
@leymannx #seen-movies hr{...} works fine!
|
|
Apr 30, 2020 at 8:31 | comment | added | gbmapo |
Considering what I can find in the page source: <link rel="stylesheet" media="all" href="/themes/contrib/onepage_zymphonies_theme/includes/bootstrap/css/bootstrap.min.css?q9i5qg" /> I assume bootstrap is brought by the theme I use (onepage_zymphonies).
|
|
Apr 29, 2020 at 17:43 | answer | added | user98716 | timeline score: 1 | |
Apr 29, 2020 at 14:43 | review | Close votes | |||
May 29, 2020 at 3:08 | |||||
Apr 29, 2020 at 14:24 | comment | added | leymannx |
And how is Bootstrap attached? Your CSS seems to be attached first, then comes Bootstrap which overrides yours. Apart from that it doesn't make much sense to target a broad selector like an <hr> from a custom module on one form while using Bootstrap at the same time. You could simply fix that by being more specific in your CSS. Like #myform hr { ... } or even give your <hr> its own class and then it would be hr.my-hr { ... } . The more precise you are in your selectors the higher is the priority of your styles.
|
|
Apr 29, 2020 at 13:57 | history | edited | gbmapo | CC BY-SA 4.0 |
added 1 character in body
|
Apr 29, 2020 at 13:26 | history | asked | gbmapo | CC BY-SA 4.0 |