• 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

jQuery included with Genesis?

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 › General Discussion › jQuery included with Genesis?

This topic is: resolved

Tagged: jquery

  • This topic has 29 replies, 3 voices, and was last updated 9 years, 6 months ago by Gary Jones.
Viewing 10 posts - 21 through 30 (of 30 total)
← 1 2
  • Author
    Posts
  • August 28, 2013 at 9:52 am #59228
    johndove
    Member

    Gary,

    I've removed all exterior container class widths. The slider is still not responsive and my text isn't fluid (even if I remove the percentage widths they're not fluid). - ?

    August 28, 2013 at 12:53 pm #59278
    Gary Jones
    Member

    #featured, #nav, #header and #footer-widgets still have a width of 1000px when viewing the site at ~540px wide (that's just the width I happen to have shrunk my browser to - the number isn't special in any way.) This may be forcing body to be bigger than it needs to be, which allows other elements to flow into it, even if you think you've got them limited.

    .nivoSlider img has a max-width of none (in the nivo-slider.css), but it should be 100% so set it in your style.css:

    .nivoSlider img {
        max-width: 100%;
    }
    

    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    August 28, 2013 at 1:31 pm #59292
    johndove
    Member

    Now absolutely nothing has a 1000px width except the wrapper, and the max-width on the nivoSlider img is set. — No change.

    I'm beginning to wonder if this corporate theme was outfitted with even the most basic responsive code, e.g.:

    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

    I don't see it. : /

    August 28, 2013 at 2:00 pm #59301
    Gary Jones
    Member

    Kill off the fixed width 1000px for the #wrap (within the media query) and the slider images, nav and subnav and other bits all fall into place.

    It probably wasn't built with responsiveness in mind - it's a relatively old theme IIRC. Add: add_theme_support( 'genesis-responsive-viewport' ); to your functions.php to add the viewport line.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    August 28, 2013 at 2:09 pm #59305
    johndove
    Member

    ...fixed width 1000px for the #wrap (within the media query)

    I'm sorry, I don't know what you mean. The #wrap is not in any media queries. - ?

    August 28, 2013 at 2:13 pm #59307
    Gary Jones
    Member

    No, you'll need to add it. Something like:

    
    @media only screen and (max-width: 1024px) {
    
        #wrap {
            width: auto;
        }
    
    }
    

    Once you've done that, you can start removing fixed percentages as well, from within a media query. For instance, for the text next to the slider (you seem to have two instances of .textwidget #mainhome {}) you can set the width as auto, same for the .home-widget-1 through 3, then add a style to make the images in those widgets display at 100% (that would be upscaling them, which makes the images look a little fuzzy, but they are visual fluff, rather than something critical to the data being communicated. Or you could hide them altogether, as they don't seem to be linked anyway). You can end up with something like http://d.pr/i/zt0S .


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    August 28, 2013 at 2:28 pm #59310
    johndove
    Member

    Once you’ve done that, you can start removing...

    I totally get that (the 2nd part) but I'm baffled by the a href mixed in with the media query. I've never seen that before. Should it be exactly what you have verbatim?

    Btw, the screen shot is spot on. THAT's what I've been looking for!

    August 28, 2013 at 2:31 pm #59314
    Gary Jones
    Member

    Urgh - sorry - that's the forum messing with my code. I've updated the above (although it's still auto-linked it).


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    August 28, 2013 at 2:43 pm #59318
    johndove
    Member

    HOO-RAY!!!

    Gary, thank you SO MUCH for helping me see this through. I know I've been a pain in the ass; I really, really appreciate it. Now that my text is flowin' and my images resizing, the think the rest is all down hill.

    YOU ARE THE MAN!

    Thanks again.

    John

    August 28, 2013 at 2:48 pm #59319
    Gary Jones
    Member

    Glad we got it working for you. I'll close this thread as we've gone way off track from a question about whether jQuery is included or not, but if you have any further questions (responsiveness or otherwise), then feel free to start a new thread.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

  • Author
    Posts
Viewing 10 posts - 21 through 30 (of 30 total)
← 1 2
  • The topic ‘jQuery included with Genesis?’ 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