Hey, I would like to move the slide button to above the slide. As the picture bellow.
I’ll do a photo edit how I’d like!
Can someone help me?
My website link: https://freitasbonfiglioli.myshopify.com/
But what code do I use to leave it that way definitively?
You have to find where is element html on your theme.
Here are the steps to find the HTML element and move it to the top:
- Log in to your Shopify admin panel.
- Click on “Online Store” from the left-hand menu.
- Select “Themes” from the submenu.
- On the Themes page, locate the theme that you want to edit and click “Actions” > “Edit code”.
- In the “Edit Code” section, find the file that contains the code for the slide. This could be in a Liquid file or a JavaScript file, depending on the slider plugin you’re using.
- Locate the HTML element that represents the slide button. This may be a button or a link.
- Cut the HTML code for the slide button.
- Find the HTML element where you want to move the slide button to. This may be at the top of the slide or in a different section of the page.
- Paste the HTML code for the slide button into the new location.
- Save the changes by clicking on the “Save” button.
here is another method to do this.
- Log in to your Shopify admin panel.
- Click on “Online Store” from the left-hand menu.
- Select “Themes” from the submenu.
- On the Themes page, locate the theme that you want to edit and click “Actions” > “Edit code”.
- In the “Edit Code” section, scroll down and find the CSS file. This file is typically named “theme.css” or “styles.css”.
- Open the CSS file and scroll to the bottom of the file.
- Copy the code I provided earlier and paste it at the bottom of the CSS file.
- Save the changes by clicking on the “Save” button.
.slideshow__controls.slideshow__controls--top.slider-buttons.no-js-hidden {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
background: white;
width: 100%;
}