I need to change the language of
“Thanks! Your email was successfully sent.”
From the contact page not the widget i tried the submit.php but it’s not there
(12 posts)
(3 voices)
I need to change the language of
“Thanks! Your email was successfully sent.”
From the contact page not the widget i tried the submit.php but it’s not there
Hello MirracoBMX,
Open up /lib/scripts/custom.js and I think it is around line 349 where you should see this,
jQuery(this).before('<p class="thanks"><strong>Thanks!</strong> Your email was successfully sent.</p>');
As for your button go ahead and give us a link to your site so we can take a closer look.
Not up yet but i have an image from your site on safari look up
Sorry about that, didn't realize it was on the demo also.
Try adding this line in your style.css file,
@media screen and (-webkit-min-device-pixel-ratio:0){
.fancy_button { padding-right: 21px !important; background-position: 100% -164px !important; }
}
Make sure to test it thoroughly in various browsers to see if everything displays fine.
It fixes it on Safari but screws up in Chrome!!!
We'll have to try another method, go ahead and delete that line we added.
Open up /wp-content/themes/awake/header.php and around line 58 you should see this,
<body>
Immediately after that add this code,
<script type="text/javascript">
jQuery(document).ready(function(){
if (navigator.userAgent.match(/Safari/i)) { jQuery('.fancy_button').css({ 'paddingRight' : '21px', 'backgroundPosition' : '100% -164px' }); }
if (navigator.userAgent.match(/Chrome/i)) { jQuery('.fancy_button').css({ 'paddingRight' : '24px', 'backgroundPosition' : '100% -165px' }); }
});
</script>
And then test thoroughly. Let us know if that works for you MirracoBmx.
You do realise i'm asking for the html version
My Site My Way Support » Theme Support Forums » Awake HTML/CSS
For the HTML/CSS version you will just need to copy that code inside your page. A good place would be in the header or footer.
Let us know if it works for you MirracoBmx.
Yup it worked you can now make this thread resolved thanks
Glad that worked for you MirracoBmx, if you have any other questions then let us know.
I added this code for an iPhone fix, which also has the gap. Its better but still shows the gap depending on the zoom level. figured I would throw it out there.
if (navigator.userAgent.match(/iPhone/i)) { jQuery('.fancy_button').css({ 'paddingRight' : '24px', 'backgroundPosition' : '100% -165px' }); }
You must log in to post.