[Resolved] Make Custom Excerpt Align With Right Side Of Featured Image

Home Forums Support [Resolved] Make Custom Excerpt Align With Right Side Of Featured Image

Home Forums Support Make Custom Excerpt Align With Right Side Of Featured Image

  • This topic has 7 replies, 2 voices, and was last updated 3 months ago by Elvin.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1967879
    Michelle

    The custom excerpt text on my homepage post goes further to the right than the featured image. How can I make the text align under the image (on the right side)?

    I don’t want the text to run into the gap that divides my two columns.

    All of my featured images are 900px wide.

    #1967889
    Elvin
    Staff
    Customer Support

    Hi there,

    I believe this is for the WPSP list on the home page?

    If that’s the case, try adding this CSS:

    section#wpsp-3004 .wp-show-posts-image.wpsp-image-left img {
        width: 100%;
        height: auto;
    }
    
    section#wpsp-3004 .wp-show-posts-image.wpsp-image-left {
        margin-right: 0;
        float: none;
    }

    A wise man once said:
    "Have you cleared your cache?"

    #1967906
    Michelle

    Yes, it’s WPSP, but that didn’t work, for some reason.

    #1967910
    Elvin
    Staff
    Customer Support

    Ah, it’s likely losing in precedence again.

    Try this one:

    section#wpsp-3004 .wp-show-posts-image img {
        width: 100% !important;
        height: auto !important;
    }
    
    section#wpsp-3004 .wp-show-posts-image {
        margin-right: 0 !important;
        float: none !important;
    }

    A wise man once said:
    "Have you cleared your cache?"

    #1967913
    Michelle

    Still no…

    #1967925
    Elvin
    Staff
    Customer Support

    The site has a syntax issue.

    The CSS of .slideout-navigation a is missing a }.
    https://share.getcloudapp.com/nOu5YpBx

    A wise man once said:
    "Have you cleared your cache?"

    #1967932
    Michelle

    Thank you, Elvin!

    #1967942
    Elvin
    Staff
    Customer Support

    No problem. 😀

    A wise man once said:
    "Have you cleared your cache?"

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.