• 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

Media queries Altitude Pro footer widgets

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 › Media queries Altitude Pro footer widgets

This topic is: not resolved

Tagged: css, footer widgets, media screen, queries

  • This topic has 3 replies, 2 voices, and was last updated 7 years, 5 months ago by wizz6113.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 29, 2015 at 5:28 am #175042
    wizz6113
    Member

    I created new footer widgets - three in a row - to replace the single full-width footer widget. I basically cut and paste some code from another Genesis theme css and fiddled with padding a bit. However, while I've got the footers aligned on desktop, they don't of course behave that way on tablet / mobile. I am a bit out of my depth on how to adjust them for media queries, so anyone any css help on this, welcome! Thanks.

    Here's the regular footer widget css I added from line 1642:

    .footer-widgets-1,
    .footer-widgets-3 {
    width: 330px;
    }

    .footer-widgets-2 {
    width: 360px;
    }

    .footer-widgets-1 {
    margin-right: 40px;
    margin-right: 4rem;
    }

    .footer-widgets-1,
    .footer-widgets-2 {
    float: left;
    }

    .footer-widgets-3 {
    float: right;
    text-align: left;
    }

    .footer-widgets .widget {
    margin-bottom: 10px;
    margin-bottom: 2.4rem;
    }

    http://integris.com.mt/
    December 29, 2015 at 11:44 am #175078
    Christoph
    Member

    Hi,

    let me just make sure I follow what you did, ok?

    In the functions.php you changed
    add_theme_support( 'genesis-footer-widgets', 1 );

    to

    add_theme_support( 'genesis-footer-widgets', 3 );

    and copied some css from a different theme but did not copy the css for the media queries?

    Taking executive-pro as example, it just says at the media query for 800px that the footer-widget-1, footer-widget-2, footer-widget-3 should have width: 100%; and margin: 0;


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    December 30, 2015 at 4:41 am #175161
    wizz6113
    Member

    Thanks Christophe,
    Yes, that's what I did - create new footers adding support in the functions php and adding css for normal mode (not media queries - I wasn't sure what to do there). I cut and paste css code from Streamline Pro.

    I'll take your suggestion and see what Steamline Pro media screen css is for the footers and copy it over too and see what happens.

    Tnx.

    December 30, 2015 at 5:19 am #175164
    wizz6113
    Member

    I think I've resolved it adding some copied css in from the Streamline theme and adjusting a bit. Even if the widths were different between the two themes.
    Not tested it on a tablet yet though.

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