I want my button and header text even further right. How do I fix this?
Try this code
.your-button-class {
position: relative;
right: 20px; /* Adjust the value to move the button further right */
}
.your-header-text-class {
position: absolute;
right: 10px; /* Adjust the value to move the header text further right */
}
where do I put this code?
in theme.css file
I do not have a theme.css file
Hi @haleygray16 ,
I understand that you want the button and header text even further right.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “theme.scss.liquid” or “styles.scss.liquid” file, depending on which file your theme uses to store its CSS styles.
- At the bottom of the file, add the following CSS code:
- And Save.
.slideshow__text.banner__box.content-container.content-container--full-width-mobile.color-background-1.gradient.slideshow__text--right.slideshow__text-mobile--center {
padding-right: 0;
}
-
I remove the padding so it will move to right. Here’s the result.
-
I hope it help.
i have neither of those files
Sorry for that try to find this file (component-slideshow.css)
Oh it not enough. You can try this one. I remove the margin in the banner.
.slideshow__text-wrapper.banner__content.banner__content--middle-right.page-width {
margin-right: 0px;
}
Result:
Im using laptop i think your using a bigger screen.
If its still not enough the last one im thinking to reduce is padding.



