• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Help with misbehaving blockquotes

Welcome!

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.

Log In
Register Lost Password

Community Forums › Forums › Genesis Blocks › Help with misbehaving blockquotes

This topic is: not resolved

Tagged: blockquotes, css

  • This topic has 0 replies, 1 voice, and was last updated 3 weeks, 6 days ago by tatami.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • January 8, 2023 at 7:36 am #506524
    tatami
    Participant

    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
  • Author
    Posts
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Log In

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble