Tagged: x
-
AuthorPosts
-
October 1, 2016 at 8:17 pm #1198933
PioPubHTParticipantI have a question about editing JS using Customizer. I’ve added text to my masthead along with the logo. I used the customizer to add the text.
tidesbooks.com
This is what I used to add my masthead logo text:
jQuery(document).ready(function($){
$(‘a.x-brand’).append(“<span style=’letter-spacing: 0px;position:absolute; top: 55px; left: 10px;padding-left: 10px;margin-bottom: 0px;margin-left: 150px; color: #FFFFFF; font-size: 40px;display:block;’>Pioneer Publishing, Inc.</span>”);
})The above edit works fine. But, what it the proper way to add additional edits? For example, I would like to edit the font size of the contact widget in the sidebar. Whenever I try, the masthead text disappears.
October 1, 2016 at 9:40 pm #1198977
PioPubHTParticipantThis is solved. My previous masthead edit wouldn’t clear from the customizer. I opened customizer in another browser and it was clear. I added the new edits for the sidebar, and it worked. Is there a trick to clearing the Customizer editor after you save your edits?
October 2, 2016 at 2:18 am #1199070
Rue NelModeratorHello There,
We are just glad that you have figured it out a way to correct the said issue.
Thanks for letting us know!Are you using CloudFlare or may have installed a caching plugin like WordFence, W3 Total Cache or WP Super Cache? Please keep in mind that after doing every updates and making site/customizer changes, always remember to clear all caches when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.
Best Regards.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1198933 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
