add a left marginand a border to the blockquote
-
hi , I don’t understand the css of the blockquote tag and don’t find how to modifiy it :
blockquote {
padding: 0;
position: relative;
margin: var(--global--spacing-vertical) 0 var(--global--spacing-vertical) var(--global--spacing-horizontal);
}.wp-block-quote { padding-inline-start: 1em; margin: 0; margin-right: 0px; margin-left: 0px; }
I wanted to have a larger left-margin, but could not use the left-margin property, so in the end this is what I did:
blockquote.reves, blockquote .wp-block-quote .reves { border-left: solid 5px; padding-left: 2em !important; font-weight: normal !important; inset-inline-start: 2em; padding-inline-end: 4em; }
I hope it’s ok, because I don’t absolutely know what the css “-inline-” things are.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘add a left marginand a border to the blockquote’ is closed to new replies.