Google Optimize

Started by rhys1234, 06-20-2018, 03:08:21

Previous topic - Next topic

rhys1234Topic starter

Trying to replace a button in Optimize, but it just brings up the alt tag. Tried editing the HTML and replacing with the correct file, but it doesn't work. Please see image attached.

I wanted to change the button colour and, when I tried using the background colour, it didn't alter it.

Any ideas? Can't find any guidance online.
  •  


marrysmith101

#1
It sounds like you're having trouble replacing a button in Optimize and modifying its color. Have you considered utilizing the CSS code to change the background color of the button? If that hasn't worked, one potential solution could be to check if there are any conflicting styles in the CSS that might be overriding your changes.

As for the issue with replacing the button, have you inspected the HTML and confirmed that the replacement file is referenced correctly? If the new file is in place and the HTML has been modified accordingly but still doesn't work, it's possible that there might be an issue with the file itself or how it's being referenced.

From image it seems the path of button image is not properly defined in code, or may b there is some syntax error in image tag you are using, or if you are displaying image with css, then you have not given the right path of images, that is the reason, image is not showing up.