Fix Cookie setting button position in mobile

Hey, im looking for help to fix the cookie button position in mobile devices

Website is in my signature,

Thank you.

Hey @Dabou ,

Please add the below-provided CSS code in the Global Custom CSS section:

button.cky-banner-element {
	position: absolute;
	bottom: -42px;
	right: -30px;
	margin: 0;
}

Steps:

  1. In your Shopify admin, go to Online Store > Themes.
  2. Click Customize.
  3. Click Theme settings.
  4. Click Custom CSS.
  5. Add the above-provided CSS code.
  6. Click Save and Verify.

Result:

Thank You.

Hey @DevDynamo , thank your for your answer but i would like to change only in the mobile view, not desktop, this code changes for both.

Hey @Dabou ,

Sorry for the previous code. Please add the below-updated code to make changes on Mobile devices only:

/* For Mobile */
@media only screen and (max-width: 767px) {
	button.cky-banner-element {
		position: absolute;
		bottom: -42px;
		right: -30px;
		margin: 0;
	}
}

Thank You.

@DevDynamo it worked, thank you.