• 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

Styling issue w/ Centric Child Theme

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 › Styling issue w/ Centric Child Theme

This topic is: not resolved
  • This topic has 10 replies, 4 voices, and was last updated 10 years, 5 months ago by Gandt.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • June 14, 2015 at 9:28 am #156171
    sethbahookey
    Member

    Hello All,

    I'm trying to follow the guide for the Centric theme and I'm entering in the 3 featured page section; however, the "Learn More" button is staying centered and not going right. What is causing this issue?

    Also, you'll notice in the next section that it actually has half the font going in the center of the page/through the picture :/

    This is pretty much dummy data for now but I just wanna get the formatting right before I flesh out the whole thing.

    Thanks,
    Seth

    http://staging.dandycatdesigns.com/
    June 14, 2015 at 11:15 am #156177
    MoodyRiviera
    Member

    In regard to your first question, I looked at your site, and I see in the "Web Design" section, the "Learn More" button is centered...and you seem to be saying that you want that button to go to the right? Is that correct?

    I'm wondering, because the text in that section is centered, and so it would seem only right that the "Learn More" button would also be centered...and if you look at the Centric theme demo those buttons are also centered.

    Maybe I'm missing your point.

    *MoodyRiviera*

    June 16, 2015 at 7:37 pm #156472
    sethbahookey
    Member

    Moody,

    Thanks for the quick response! You have been on top of my posts lately and I really appreciate that 😀

    Yes, I want the button to go to the right. Basically if you look at the demo of the Centric theme I'm trying to mirror that demo site with my own stuff. You'll notice that the text and button are both on the right hand side. I followed the guide that was given with the purchase of this theme. Yet I'm struggling 🙁

    Not sure what to do and maybe I'm just messing the feature page widget up? But I really don't think I am.

    Regards,
    Seth

    June 16, 2015 at 8:33 pm #156477
    sethbahookey
    Member

    After some further investigation I think I know what the problem is, but I do not know how to solve it.

    If you look at the demo page, you'll notice that the Learn More button is wrapped in a p tag. In my site the text and the learn more button are wrapped in the same p tag. How can I break these up?

    Thanks

    June 17, 2015 at 9:03 am #156525
    MoodyRiviera
    Member

    Hi Seth,
    I just tried looking at your site again, but seems to be unavailable...maybe you're working on it. I'll check in later to see if I can see it.

    *MoodyRiviera*

    June 17, 2015 at 9:06 am #156526
    Erik D. Slater
    Member

    It's down for everyone: http://www.isup.me/http://staging.dandycatdesigns.com/


    Erik D. Slater: Digital Platform Consultant • LinkedIn
    June 17, 2015 at 9:15 am #156527
    sethbahookey
    Member

    Whoops! Sorry guys I changed the domain for it

    it's now at dev.dandycatdesigns.com

    Thanks

    June 17, 2015 at 9:59 am #156531
    MoodyRiviera
    Member

    Seth,

    I don't know if this is going to help...I am in no way any kind of expert at this stuff...but I've looked at your code in the area where you're having problems, and then compared it code in one of my own sites where I used the Centric theme...and one thing I noticed that was different was that I used the "Insert Read More Tag" on my page(s)...the page(s) that were linked to through the "Featured Pages" widget...and it doesn't look to me like you used the "Read More" tags...and maybe this has caused your problem, because when displayed on your home page maybe the widget doesn't know where to quit showing text.

    Here's a screen shot showing my page that's linked to my home page through that same widget, and you can where I've used that tag.

    http://www.wp4designers.com/more.jpg

    *MoodyRiviera*

    June 17, 2015 at 5:39 pm #156600
    sethbahookey
    Member

    Moody,

    I noticed that the site kinda looks ok if i have it at a width of 1024 or less in resolution anything greater and it gets all messed up. Do you notice that too or is it just my computer?

    June 17, 2015 at 6:37 pm #156606
    MoodyRiviera
    Member

    It does seem to look somewhat better at different widths, but I haven't see any width where it looks totally OK...sorry.

    *MoodyRiviera*

    July 6, 2015 at 5:42 pm #158580
    Gandt
    Member

    Sethbahookey

    The answer is simple, for whatever reasons, the css is not telling the button (an <a> tag) to go to the right, so it isn't. To correct this issue per se, just add these lines of code to your css:

    .home-widgets .more-link {
    display:block;
    float:right;
    }

    This makes the button go to the right. However, it still doesn't look right. You could additionally give it a right margin or what have you but the root of the issue goes deeper.

    The general issue with that part of your site is that the whole section is not properly styled. A quick solution off the top of my head, broken down into various steps:

    .home-widgets .featuredpage .widget-wrap {
      margin: 0;
      padding: 30px;
      width: 100%;
    }

    (I changed the padding and margin values, removed margin:0 auto to avoid floating to the center since your content is not really centered per se, and gave some sideways padding to recreate the look - please tweak the padding values as needed. Last but not least I got rid of max-width, since it was messing with the new structure)

    Now, you have an unused widget title creating unnecessary spacing, so we have to hide it:

    .home-widgets .widget-title {
    display:none;
    }

    Now we need to fix the ugly negative margins on

    .home-widgets .featuredpage .entry .alignright
    and
    .home-widgets .featuredpage .entry .alignleft

    just set them to

    margin:0;

    Last but not least, we now have to add a new class that will help us align images to the left, without all the ugly negative value margins and what not. For the sake of examples let's use this naming:

    .align-image-left {
    display: block;
    float: left;
    margin: 0;
    }

    To fix the 2nd part that has the image on the right, simply make a new css class with the opposite value:

    .align-image-right {
    display:block;
    float:right;
    margin:0;
    }

    Don't forget to add these classes to your <a> elements or the fixes won't come into play.
    The finished fix now looks like this:

    screenshot of the site with the suggested fixes

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

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