Setting up a media query to adjust button placement for mobile experience

Hi ,

I am trying to set up my first media query to allow separate style values between my desktop and mobile experience.

The section is my homepage slideshow. I am not sure of all the specifics here and am hoping to get some direction. I was told that i would have to edit my section-slideshow.liquid

The style content im looking to change is currently living in my index.json (attached photo below) I want to align the buttons differently

Desktop - Middle Right

Mobile - Middle Center

Hello @Matthew_39

It’s GemPages support team and glad to support you today.

To provide you with the most precise solution in this case, could you please share the home page link?

Great, so appreciate the quick response :folded_hands:

www.fitwithcambrie.com

@Matthew_39

It’s the GemPages support team and glad to support you today.

I would like to give you a solution to support you:

  1. Go to Online Store → Theme → Edit code:

  1. Open your theme.liquid theme file

  2. Paste the below code before :


Hope my solution can work and support you!

Kind & Best regards!

GemPages Support Team.

1 Like

So great, worked wonderfully. Thank you :folded_hands: