• 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

Altitude Pro: centering shortcode in front page 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 › Altitude Pro: centering shortcode in front page widget

This topic is: resolved

Tagged: Altitude Pro, front-page-widgets, shortcodes

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 8 months ago by tatami.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 30, 2016 at 6:33 am #177898
    tatami
    Participant

    I'm tearing my hair out over this!

    I'm using Justified Image Grid (for galleries) in conjunction with Altitude Pro. I need to canter galleries (embedded as shortcodes) in the home page widgets. But whatever I try, the galleries stubbornly remain left justified – see Our team. Is there anyone out there who can help me with this?

    Best wishes

    Philip

    http://isohealth.co.uk
    January 30, 2016 at 6:26 pm #177936
    Victor Font
    Moderator

    I can tell you why it's happening, but I can't tell you how to fix it because it appears to be coming from a plugin. There is a float:left; that is applied to #jig2 .jig-imageContainer. That class is applied to each of the images. It's inline CSS, which means it's being added by whatever plugin you're using. You've got to somehow get rid of the float:left; and use display: inline-block; instead and your images will be centered. I don't think changing your style sheet will help because inline CSS will have the priority over the style sheet. You need to figure out how to override whatever plugin or process is adding that CSS inline.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 31, 2016 at 2:28 pm #177978
    tatami
    Participant

    Victor, I should have got back to you sooner – my apologies. I really appreciate that you've taken the time to look at what's going on and pass on your observations. Someone else in the StudioPress community (Brad West) finally helped me solve things. The answer was to add "last_row=center" to the shortcode. Anyway, thanks for your help.

    Philip

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Altitude Pro: centering shortcode in front page widget’ 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