CMS Development

Digmarkspec
Member

Submit Button Color Using Safari browser on iPhone

I have a submit button that is styled to use our website colors. It works in most browsers but if you use safari browser on an iphone then it defaults to the original blue button.

 

Does anyone know if you have to use a special CSS style for safari for iphones ?

 

If so, can it be added without conflicting with the CSS that works already for other browsers.

0 Upvotes
3 Replies 3
TRooInbound
Key Advisor

Submit Button Color Using Safari browser on iPhone

Hi @Digmarkspec,

 

there is lots of reason to change BLUE color, 

- Active Link color

- Visited Link color

and the color is not specified with a different browser.

 

give color property !important in CSS and try it out.

 

.button-class {
    color:red !important
}

 

Still not working then please send me URL link I will test it out in Iphon and solve it out.

 

Thanks,

TRooInbound

0 Upvotes
Digmarkspec
Member

Submit Button Color Using Safari browser on iPhone

I think this issue was caused by cached CSS files.

 

The changes weere made to the CSS and were working on devices where the cache had been cleared. However, some users apperently were still getting the old CSS file.

 

So I guess my changes were correct or working but not everyone got the fresh CSS file.

Digmarkspec
Member

Submit Button Color Using Safari browser on iPhone

I have tried -webkit-appearance:none;

that won't work.

0 Upvotes