• 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

How to change the blockquote styling in modern-portfolio

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 › How to change the blockquote styling in modern-portfolio

This topic is: resolved

Tagged: blockquote

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 10 months ago by Sabine.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 3, 2013 at 10:16 am #76801
    Sabine
    Member

    Hi,
    I want to change the blockquote styling to a line on the left border.

    This is the original code in the modern-Portfolio template:

    blockquote::before {
    content: "â€?“";
    display: block;
    height: 0;
    left: -20px;
    position: relative;
    top: -10px;

    How do I have to change the code that a line on the left side appears and the " from the content does not show up anymore?

    Thanks in advance for your help!

    December 4, 2013 at 12:56 am #76903
    nutsandbolts
    Member

    The whole blockquote::before section is what places the quotation mark to the left of the block quote. To remove the quotation mark, just remove that entire section from your stylesheet. To add a border on the left, find this (right above the "before" rules):

    blockquote {
    	padding: 24px 64px;
    	padding: 1.5rem 4rem;
    }

    and alter it so it looks like this:

    blockquote {
    	padding: 24px 64px;
    	padding: 1.5rem 4rem;
            border-left: 3px solid #222;
    }

    You might want to change the thickness and/or color but that should get you started.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 4, 2013 at 1:51 am #76917
    Sabine
    Member

    Thanks for your help!

    That's my final one, which is working;-)

    blockquote {
    	padding-left: 24px;
            padding-left: 1.5rem;
            padding-right: 24px;
            padding-right: 1.5rem;
            margin-left: 24px;
            margin-left: 1.5rem;
            margin-right: 24px;
            margin-right: 1.5rem;
            border-left: 1px solid #888888;
            text-align: left;
           }
  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

© 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