• 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

Center Align 'Recent Posts' in Footer 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 › Center Align 'Recent Posts' in Footer Widget

This topic is: resolved

Tagged: alignment, footer widget, padding, recent posts

  • This topic has 6 replies, 3 voices, and was last updated 8 years, 5 months ago by Porter.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • October 20, 2014 at 3:42 pm #128488
    jmurn
    Member

    Hello,

    I'm working on a site (regalnest.com) and trying to center align the Recent Posts links in footer 2. I've located the footer widget code in the style sheet but nothing I've tried will make the links align center. Any advice?

    If you also happen to know how to change the default padding between images and text in blog posts, that would be greatly appreciated as well - though the center aligning the footer has been a huge pain!

    Thanks!

    http://regalnest.com
    October 20, 2014 at 4:04 pm #128492
    Porter
    Participant

    This should center your widget links:

    .footer-widgets-2 .widget-area {
    	text-align: center;
    }

    If not, try:

    .footer-widgets-2 .widget-area a {
    	text-align: center;
    }

    Buy me a beer? | Try DigitalOcean VPS Hosting

    October 20, 2014 at 4:14 pm #128495
    jmurn
    Member

    Thanks so much for your response, but neither of those work either. 🙁

    Is there something missing since it's not just text, but the 'recent posts' links?

    I appreciate the help!

    October 20, 2014 at 4:23 pm #128497
    JamesRoberts
    Member

    Hey jmurn, you could try the following...

    .footer-widgets-2 li {
        text-align: center;
    }

    Need beautiful and responsive Genesis child themes at amazing prices? Stop by LlamaPress and check out our themes.

    October 20, 2014 at 4:30 pm #128500
    Porter
    Participant

    Ah yes, the above should work, as they are list items - good catch.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    October 20, 2014 at 4:45 pm #128505
    jmurn
    Member

    Holy cow, it worked! Awesome! Thank you so much!!

    October 20, 2014 at 4:50 pm #128507
    Porter
    Participant

    Remember to mark your thread as resolved at the top of the page!


    Buy me a beer? | Try DigitalOcean VPS Hosting

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

© 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