Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1268085
    yhshin1020
    Participant

    Hey,

    I have an addon for Visual composer installed and I want to chagne the font in one of their elemetns.

    i know this isnt X theme but i figured i might be able to get some assistance with regards to which css selectors i should use.

    I tried this (i added .home cos i want it to apply to home only):

    .home a.mpc-post.mpc-post__heading{
      color: white !important;
    }

    but it doesnt seem to work.

    More details below.

    Thanks!

    #1268087
    yhshin1020
    Participant
    This reply has been marked as private.
    #1268088
    Lely
    Moderator

    Hi There,

    Thank you for the credentials.
    It should be like this:

    .home .mpc-post .mpc-post__heading a {
        color: white;
    }

    But then why white? You have white background and having white text means that the text will not be visible.

    #1268110
    yhshin1020
    Participant

    I just put color: white as a placeholder, i dont actually intend to keep it white (as you’ve pointed out :))

    I just wanted to give an example.

    Thanks!

    #1268118
    Christopher
    Moderator

    Hi there,

    Please add this code :

    .home .mpc-post__heading a {
        color: red;
    }

    Hope it helps.

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