• 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

Centre mapsmarker in text 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 › Centre mapsmarker in text widget

This topic is: not resolved

Tagged: align, centre, Mapsmarker, parallax-pro

  • This topic has 3 replies, 2 voices, and was last updated 5 years, 6 months ago by Victor Font.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 31, 2017 at 4:37 am #209745
    travelbllgr
    Member

    Hi, I am using the Parallax Pro theme and I have added a mapsmarker location to one of the text widgets on my homepage.

    I want to centre the map but the usual align code doesnt seem to work - any ideas how I do this? It looks ok on a mobile phone but looks aligned to the left on a desktop.

    Thanks

    http://www.ribbonwoodweddings.co.nz
    July 31, 2017 at 4:40 am #209746
    Victor Font
    Moderator

    It's not centered on the desktop either. Add a class to style.css:

    .mapsmarker {
        margin: 0 auto;
    }

    Regards,

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

    August 1, 2017 at 3:18 am #209809
    travelbllgr
    Member

    Hi victor

    I added the code to the end of the style.css sheet and it did not centre the map. Am I adding it in the right place?

    Thanks

    August 1, 2017 at 8:25 am #209833
    Victor Font
    Moderator

    It's not in your style sheet, but it looks like you fixed it anyway.


    Regards,

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

  • 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