codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Center a heading over an image using Elementor

    13th August 2020

    CSS

    Css - Codehaven

    Center a heading over an image using Elementor,,
    To centre a heading using elementor can be very difficult, especially when tablet mode and mobile mode are transitioned to as the pixels away from the top and bottom change, therfore the heading moves.

    If you use a standard image, and underneath that add a heading.
    Then add the following code the CSS of the heading in elementor.

    The width of the heading is controlled by the positioning tab.
    Center a heading over an image using Elementor,,

    Was this code snippet helpful?