• 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

Block quotes in eleven40 Pro

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 › Archived Forums › Design Tips and Tricks › Block quotes in eleven40 Pro

This topic is: not resolved
  • This topic has 7 replies, 2 voices, and was last updated 9 years, 9 months ago by tatami.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • July 27, 2015 at 2:03 am #160554
    tatami
    Participant

    I'm hoping someone can help me with a couple of fine-tuning issues I'm having.

      The way the theme is configured by default, there are opening quote marks but no closing quote marks. I'd like to add those closing quote marks. How can I do this?
      When I have an image to the right of a block quote, the block quote indentation doesn't work. How can I resolve this?

    You can see an example at http://aenigma-images.com/2015/07/quite-a-trooper/. I'd really appreciate some advice here. Thanks in anticipation!

    Philip

    August 8, 2015 at 11:48 am #161792
    Ginger
    Participant

    Hi Philip,

    This was a tough one since I had not styled blockquotes myself yet. If you Google "blockquotes styling" or something like that you can get a lot of helpful articles if you want to change this further. The article that explains the entries used for the quotes themselves is here:

    http://webdesign.tutsplus.com/articles/start-using-quotation-marks-the-correct-way--webdesign-16905

    In your site have a look in your style.css file and replace lines 206 through 218 with this code:

    blockquote {
    	margin: 40px 40px 24px;
    	display: inline-block;
    }
    
    blockquote,
    blockquote::before,
    blockquote::after {
    	color: #999
    }
    
    blockquote::before {
    	content: "\201C";
    	font-size: 30px;
    	position: relative;
    	float:left;
    	top: -20px;
    	left: -20px;
    
    }
    
    blockquote::after {
    	content: "\201D";
    	font-size: 30px;
    	position: relative;
    	float: right;
    	top: -40px;
    	right: -10px;
    
    }

    This puts a matching closing quote to the bottom right of the text which offsets the opening quote on the top left. The key is the before and after and the \201C and \201D entries. Hope this gets you closer to what you want!


    @gscoolidge | Support Nerd | Website Producer/Tweaker | IDX Integrations | Hosting Options

    August 9, 2015 at 2:18 am #161814
    tatami
    Participant

    Ginger

    I'd pretty much given up hope of getting help on this so it's a lovely surprise that you've taken the time to offer me some advice. This looks terrifically helpful and I'll certainly have a go at following what you've suggested. I'm on holiday right now and I'm going to wait until I get back home to make changes. I'll let you know how I get on. In the meanwhile, THANK YOU 🙂

    Philip

    August 9, 2015 at 3:27 am #161815
    tatami
    Participant

    Ginger

    I couldn't resist updating my style.css file with the code you suggested. It does indeed put smart quotes at the end of each quotation, just as I wanted. There is one unintended consequence, though, which is bugging me, For some reason I can't fathom, it indents the first two lines of the quote. As an experiment, I enlarged the quote mark font size from 30pt to 60pt and that resulted in indenting the first four lines. Have you any idea what's going on here and how to correct it?

    http://aenigma-images.com/2015/07/quite-a-trooper/

    Thanks again

    Philip

    August 9, 2015 at 10:36 am #161849
    Ginger
    Participant

    Hi Philip,

    You did a good job, glad it's working for you! Sometimes I cannot resist a challenge 🙂

    One thing I forgot was the original code had height: 0; under the blockquote::before section. If you add that back to the before and after sections it will reduce the "footprint" of the quotes and stop indenting the text.


    @gscoolidge | Support Nerd | Website Producer/Tweaker | IDX Integrations | Hosting Options

    August 9, 2015 at 10:45 am #161850
    tatami
    Participant

    Thanks, Ginger, for your help and for your encouragement. I think I've done as you suggested but it seems to make no difference, Here's the code I'm using.

    blockquote {
    margin: 40px 40px 24px;
    display: inline-block;
    }

    blockquote,
    blockquote::before,
    blockquote::after {
    color: #999
    }

    blockquote::before {
    content: "\201C";
    font-size: 30px;
    height: 0;
    position: relative;
    float:left;
    top: -20px;
    left: -20px;

    }

    blockquote::after {
    content: "\201D";
    font-size: 30px;
    height: 0;
    position: relative;
    float: right;
    top: -40px;
    right: -10px;

    }

    Can you spot my undeliberate mistake?

    Best wishes

    Philip

    August 9, 2015 at 10:51 am #161851
    Ginger
    Participant

    I can see the changes, it looks good. Probably its a caching issue in your browser.


    @gscoolidge | Support Nerd | Website Producer/Tweaker | IDX Integrations | Hosting Options

    August 9, 2015 at 10:53 am #161853
    tatami
    Participant

    Thank you, Ginger, you're right and you're a total star!!!

    Best wishes

    Philip

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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