Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1395433
    samuelayres
    Participant

    Hey,

    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?

    #1395737
    Rupok
    Member

    Hi 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!

    #1396555
    samuelayres
    Participant

    Is 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?

    #1396614
    Joao
    Moderator

    Hi,

    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

  • <script> jQuery(function($){ $("#no-reply-1395433 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>