This topic is: not resolved
- This topic has 0 replies, 1 voice, and was last updated 2 years, 3 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Community Forums › Forums › Genesis Blocks › Help with misbehaving blockquotes
Tagged: blockquotes, css
I have not done any work on my website for quite a few months other than keep WordPress and plugins updated.
Today, I tried to add an image to one of my posts. The image is aligned left and the blockquote to the right of it should indent accordingly. You can see how it appears by scrolling down to the quote opposite the first image here (please note, this post is on my staging site and you’ll need to be using a Mac/PC with quite a wide window) .
Scroll down to compare that with the quote opposite the second image. Here, the quote appears as it should do – shifted over to the right together with the quotation mark. By contrast, while the quote opposite the first image has shifted over to the right, the quotation mark hasn’t.
Existing layouts all appear to be fine, this happens only with items I add or change. I’m guessing that this is caused by some change in the block editor.
I’m configuring quotes to the right of images by an additional CSS class: blockquote--right. It is defined like this:
/* Correct blockquote being too close to image */
.blockquote--right,
.ul--right{
position: relative;
left: 40px;
}
Here is the rest of my blockquote CSS:
/* Quotation mark before block quotes */
blockquote::before {
content: "\201C";
color: #6b6b6b;
display: block;
font-family: "oswald" !important;
font-size: 70px;
height: 0;
left: -40px;
position: relative;
top: -20px;
}
/* Adjust block quotes */
blockquote {
color: #6b6b6b;
display: block;
margin: 0px 15px 0 0 !important;
padding: 0px 40px;
}
/* Option to wrap blockquotes around images */
.blockquote--flow {
overflow: initial;
}
Please could someone help me to understand what is causing the problem I’ve described and how to resolve it.
http://www.aenigma-images.com© 2025 WPEngine, Inc.