• 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 Center Image in Text Widget

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 Center Image in Text Widget

This topic is: resolved
  • This topic has 5 replies, 3 voices, and was last updated 11 years, 7 months ago by anotherusername.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 16, 2014 at 7:19 pm #134721
    pwalus
    Member

    I need to centre in image in a text image without it centring all the other images in all my other widgets.

    here is my site and you can see the red seo on the left and text to the right, i want the red seo image in the centre and the text underneath it in the center.

    thank you!

    http:// digitallseo.com
    December 16, 2014 at 9:08 pm #134724
    Brad Dalton
    Participant

    Insert the image into the text editor of a post draft and center it

    Then copy and paste the HTML from the text editor into your widget


    Tutorials for StudioPress Themes.

    December 17, 2014 at 12:37 am #134734
    anotherusername
    Participant

    It looks like your rules in:

    .widget-wrap img {

    are conflicting with your rules in:

    img.centered, .aligncenter {

    Since your .widget-wrap img { occurs later in your css file it is overriding the settings in your img.centered, .aligncenter {

    If you were to comment out the rules in .widget-wrap img { like so:

    .widget-wrap img {
    /* display: block; */
    /* float: left; */
    /* margin-right: 8px; */
    }

    You will notice that the image is now in the center and the text appears below it (with lots of break tags added for no reason except to give aspiring geeks like me nightmares).

    December 17, 2014 at 4:27 pm #134778
    pwalus
    Member

    Thank you yes i see what you mean. I removed the rules in .widget-wrap img and it is centred! What do I need to do in my css file to make this work? Thanks so much for your help, I am pulling out my hair over this.

    December 17, 2014 at 4:30 pm #134779
    pwalus
    Member

    I spoke too soon - it works now! MANY thanks 🙂

    December 17, 2014 at 7:58 pm #134783
    anotherusername
    Participant

    You're welcome.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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

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