Site logo

Archived topic

Button Alignment Issue

3 replies · Started by Suman on March 13, 2023

Viewing posts 1–4 of 4

I am unable to align this footer button to the left.

It appears on the left on the backend mobile view but when I check on phone its in the center position.

https://imgur.com/NAWCMR5

How can I fix it?

Hi there,

its because that button was copied from your post content to the footer at some point.
when you copy a block from one post to another ( including GP Elements ) it does not update the unique class on the block.
So that footer button has the same class as button on your homepage which is overriding it styles.

To fix it.
Edit the site footer. Select the BUTTONS ( wrapper ) block and duplicate it:

https://www.screencast.com/t/Z96RJEVAHid

Then delete the original buttons block. The duplicate will generate a new class.

Thank you David it worked.

Glad to hear that

This archived topic is closed to new replies.