• 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

Mysterious text wrap around floated image

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 › Mysterious text wrap around floated image

This topic is: resolved

Tagged: css

  • This topic has 4 replies, 2 voices, and was last updated 2 years, 2 months ago by keithpurtell.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • June 1, 2020 at 3:34 pm #499086
    keithpurtell
    Participant

    My client wants a minimal design with many modifications. The Atmosphere theme has three sections on the splash, ea with image and text. I was asked to replace ea image with a slider. The first test worked, and is "02 Detail Focused" on the staging link.

    Copied that code over to "01 Big Picture Minded" and added new text and a new slider. Now the text is wrapping around the slider. I thought it was just too long, but removing all but one sentence from the text did not help. I know the text is there because I can see the stubby horizontal line, and the text itself is in the source. Chrome's cool web dev tools not helping so far.

    I'm stumped, have a deadline coming up.

    https://staging2.505architects.com/
    June 2, 2020 at 5:51 am #499092
    Victor Font
    Moderator

    There's no text showing under 01. Can't help if we can't see the problem.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    June 2, 2020 at 8:16 am #499096
    keithpurtell
    Participant

    The reason I titled this "mysterious text wrap around floated image" is because the text is wrapping around the floated image. So much so, that it is out of sight. Presumably it is under the section below.

    Also, the code for this section is the same as the one below it, which did *not* exhibit this behavior.

    Here is the code inside the WordPress editor:

    <figure class="splash_slider_left">
    <div class="contain_slider">[smartslider3 slider="3"]</div>
    <article class="slider_test_image_left"><h1 class="number_underlined">01</h1><h1>Big Picture Minded</h1><hr class="one-two-three"><p>The big picture is our clients’ overarching story or idea.&nbsp;&nbsp;<sup>1</sup></p></article>
    </figure>
    <!-- It’s the reason we work together. By making the big picture a consistent part of our message, it becomes an organically created piece of knowledge. When this occurs, remaining ideas become easier to understand. We’ll connect these big ideas while simultaneously securing the details in place. At 505 Architects we understand that great architecture must embrace our clients’ intended purpose for their project. Together we accomplish this, while ensuring the project is integrated into the environment it shares with those around it. -->

    Most is commented out, because I suspected an overflow problem.

    Here is a screen capture. At lower left you can see a small horizontal rule. That is part of the text being pushed down and away. It's normal for a float to "push" text, but why would the first two text objects (the number and title) be visible, whereas the remainder is being pushed far away?

    Screen capture of problem area

    June 2, 2020 at 8:26 am #499097
    keithpurtell
    Participant

    Victor,
    As I look at this with fresh eyes this morning, I note that the CSS for the horizontal rule includes "clear: left" which I will revise. Hopefully that will help.

    I'll report back if not.

    June 2, 2020 at 8:43 am #499098
    keithpurtell
    Participant

    Just to confirm: The theme's default setting for the HR was clear:left.

    Once set to clear:none the text displays normally.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Mysterious text wrap around floated image’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

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