Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #990106
    Chris
    Participant

    hello team,
    i need to add an id to the div x-main.
    how can i do that?

    kind regards,
    chris

    #990643
    Friech
    Moderator

    Hi Chris,

    Thanks for writing in! You can add this under Custom > Global JavaScript in the Customizer.

    jQuery(document).ready(function($) {
       $('.x-main').attr('id','some-id');
    });

    Hope it helps, Cheers!

    #1025585
    Chris
    Participant

    merci

    #1026189
    Rue Nel
    Moderator

    You are most welcome!

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