Tagged: x
-
AuthorPosts
-
March 5, 2017 at 6:31 pm #1395433
samuelayresParticipantHey,
I’m trying to insert the following CSS into Customizer, but it won’t save when I do. The code displays correctly in the preview and works fine when I enter it directly into my page. But Customizer doesn’t like it:
/* Create Social List Icons */ ul.social { list-style: none; } ul.social li { padding: 5px 0 5px 30px; position: relative; } ul.social li:before { font-family: 'FontAwesome'; position: absolute; top: 6px; left: 5px; } ul.social li.website:before { content: '\f0ac'; } ul.social li.instagram:before { content: '\f16d'; } ul.social li.facebook:before { content: '\f09a'; } ul.social li.twitter:before { content: '\f099'; } ul.social li.youtube:before { content: '\f167'; }Any thoughts?
March 6, 2017 at 12:07 am #1395737
RupokMemberHi there,
Thanks for writing in! The codes for pseudo elements wont work within Customizer. You needto use them within CHild Theme’s style.css.
Cheers!
March 6, 2017 at 11:51 am #1396555
samuelayresParticipantIs there a reason you’ve set it to not accept the code? It seems a bit arbitrary as it displays correctly in the customizer preview and works just fine when I use my plugin to insert directly into the page head.
Why put artificial limits on how I can customize my code? If I want to break my own theme, shouldn’t I be able to?
March 6, 2017 at 12:39 pm #1396614
JoaoModeratorHi,
You can try connecting to your root WordPress directory via FTP and open the file wp-config.php and add following at the bottom:
define( 'WP_MEMORY_LIMIT', '256M' ); define( 'WP_MAX_MEMORY_LIMIT', '512M' );Let us know how it goes,
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1395433 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
