Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @lukeedwards88

    It depends what the shortcode output on browser. For example, if it’s a div element, you may it center this way: div { margin: 0 auto; }.

    Moderator bcworkz

    (@bcworkz)

    If you can provide a live link to a page that uses the shortcode, someone can likely give you the exact CSS required if Rahmohn’s suggestion doesn’t help you adequately.

    Shortcodes generally only output content. The styling is left to CSS rules. This is why seeing the output in context is necessary. Knowing the shortcode tag alone is not very useful.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode’ is closed to new replies.