• 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

[Delicious] featured image border on page, but not on post ??

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 › [Delicious] featured image border on page, but not on post ??

This topic is: resolved

Tagged: Delicious, featured image

  • This topic has 7 replies, 2 voices, and was last updated 10 years, 4 months ago by Jen Baumann.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • November 30, 2012 at 8:54 am #2504
    Boblebad
    Participant

    I have run in to an odd problem with the border around featured image in posts and pages, it shows on featured-page, but not on featured-post, and from what i can see there is only one code-segment to fit both ??

    #sidebar .featuredpost a.alignleft, .featuredpage a.alignleft, .small-thumbnail-frame {
    background: #EFEFEF;
    float: left;
    list-style: none;
    margin: 4px 10px 0 0;    /* forhøj fra 4 til 40 for at få billedet justeret ned på linie med teksten */
    padding: 3px;
    position: relative;
    border: 1px solid #D9D9D9;    /* ramme rundt om billedet */
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -webkit-background-clip: padding-box;
    -webkit-background-origin: padding-box;
    }

    EDIT: http://www.fredidalen.dk

    November 30, 2012 at 9:08 am #2514
    Jen Baumann
    Participant

    Try removing #sidebar from that section.

    November 30, 2012 at 9:47 am #2523
    Boblebad
    Participant

    Thank you Jennifer

    It did half of the job, it added the border to alignleft, but not to alignright, the featured images are aligned from within the widget settings ..

    Adding alignright to "#sidebar .featuredpost a.alignleft, .featuredpage a.alignleft, .small-thumbnail-frame {" just aligned the image left ??

    November 30, 2012 at 9:53 am #2527
    Jen Baumann
    Participant

    Try adding another block for .alignright.

     

    .featuredpost a.alignright, .featuredpage a.alignright {
    background: #EFEFEF;
    padding: 3px;
    border: 1px solid #D9D9D9;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -webkit-background-clip: padding-box;
    -webkit-background-origin: padding-box;
    }

    November 30, 2012 at 10:10 am #2534
    Boblebad
    Participant

    Thanks again Jennifer

    That did the trick 🙂

    Maybe you can help formatting the h2 in the Home boxes as well, they leave a lot of space above them ??

    November 30, 2012 at 10:17 am #2535
    Jen Baumann
    Participant

    You could play with this:

    .widget h2 {
    margin: 10px 0 5px;
    }

    November 30, 2012 at 10:59 am #2547
    Boblebad
    Participant

    Thanks a million Jennifer

    Works like a charm 😀

    November 30, 2012 at 11:00 am #2549
    Jen Baumann
    Participant

    You're welcome!

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘[Delicious] featured image border on page, but not on post ??’ 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

© 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