- 
		AuthorPosts
 - 
		
			
				
March 8, 2017 at 8:30 pm #758007
You gave me the custom css below to add a focus outline on my contact form which works. The only thing I noticed is that when you zoom in (see image) you can see that it adds the focus outline around the existing outline of the form instead of over the border. Is there a way to modify the css or add different css so that the focus outline overlaps the border of the actual contact form because I don’t really like how this looks, especially on retina devices. Or maybe hide the existing border when a field is selected with the focus border? Thanks!
#top input[type="text"]:focus, #top input[type="password"]:focus, #top input[type="email"]:focus, #top input[type="number"]:focus, #top input[type="url"]:focus, #top input[type="tel"]:focus, #top input[type="search"]:focus, #top textarea:focus, select:focus { box-shadow: 0px 0px 1px 1px #188ece!important; }- 
		This topic was modified 8 years, 8 months ago by 
djshortkut.
 
March 8, 2017 at 10:24 pm #758060Hi djshortkut!
You can convert the box-shadow to border instead
#top input[type="text"]:focus, #top input[type="password"]:focus, #top input[type="email"]:focus, #top input[type="number"]:focus, #top input[type="url"]:focus, #top input[type="tel"]:focus, #top input[type="search"]:focus, #top textarea:focus, select:focus { border: 1px solid #000; }IS that better?
Let us know
Best regards,
BasilisMarch 8, 2017 at 11:57 pm #758103Thanks Basilis, that’s exactly what I was looking for! You can close this ticket.
- 
		This reply was modified 8 years, 8 months ago by 
djshortkut.
 
March 10, 2017 at 7:19 am #758710Hi,
Thanks for the feedback and glad we could help :-)
Please open a new thread if you should have any further questions or problems.
Best regards,
RikardMarch 10, 2017 at 7:19 am #758711 - 
		This topic was modified 8 years, 8 months ago by 
 - 
		AuthorPosts
 
- The topic ‘Contact Form’ is closed to new replies.
 
