Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1149644
    yhshin1020
    Participant

    Hey,

    I want to change the font and size of the blog title and content.

    I’ve seen other threads but none of the codes suggested work.

    Thanks.

    #1149649
    yhshin1020
    Participant
    This reply has been marked as private.
    #1149679
    Thai
    Moderator

    Hi There,

    Please add the following CSS:

    .blog .x-iso-container-posts.cols-3 .entry-title {
        font-size: 32px;
    }
    .blog .entry-content {
        font-size: 20px;
    }

    Hope it helps 🙂

    #1149686
    yhshin1020
    Participant

    Thanks,

    How do i get rid of the comment section?

    I went to Settings > Discussion, but it still appears.

    Also, how can i add a padding-top to all the post pages?

    Thanks.

    #1149719
    Thai
    Moderator

    I went to Settings > Discussion, but it still appears.

    This setting could be overridden by the post individual setting, please edit your post > scroll down to Discussion section > uncheck on the Allow comments:

    http://i.imgur.com/RUiuh5x.png

    Regards!

    #1149726
    yhshin1020
    Participant
    This reply has been marked as private.
    #1149730
    yhshin1020
    Participant
    This reply has been marked as private.
    #1149768
    Thai
    Moderator

    Hi There,

    Please update the previous CSS a bit:

    body .entry-title {
        font-size: 32px;
    }
    body .entry-content {
        font-size: 20px;
    }

    Another thing: I want to add a padding-top: 5%; for every blog posts. Currently the blog post goes under the header because the header is set to absolute.

    In this case, please find this CSS:

    .x-navbar {
        position: absolute;
        width: 100%;
        top: 0;
        background-color: rgba(255, 255, 255,0.9);
        box-shadow: none;
        border-bottom: none;
    }

    And replace with this:

    .home .x-navbar {
        position: absolute;
        width: 100%;
        top: 0;
        background-color: rgba(255, 255, 255,0.9);
        box-shadow: none;
        border-bottom: none;
    }
    #1150132
    yhshin1020
    Participant
    This reply has been marked as private.
    #1150214
    Rue Nel
    Moderator

    Hello There,

    To position the navbar absolute in all pages, please use this code instead:

    .x-navbar {
        position: absolute;
        width: 100%;
        top: 0;
        background-color: rgba(255, 255, 255,0.9);
        box-shadow: none;
        border-bottom: none;
    }
    
    .site > .x-container {
        padding-top: 5%;
    }

    Please let us know how it goes.

    #1150222
    yhshin1020
    Participant
    This reply has been marked as private.
    #1150235
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates! Then you can use this css instead:

    .postid-1368 .site > .x-container {
        padding-top: 5%;
    }

    Please notice that we use another class .postid-{ID#} or you could also use page-id-{ID#}. You just need to find out the post ID number or Page ID number. To know how you can find the ID number, please check out our knowledge base:
    https://community.theme.co/kb/how-to-locate-post-ids/

    Hope this helps.

    #1150239
    yhshin1020
    Participant
    This reply has been marked as private.
    #1150246
    Christopher
    Moderator

    Hi there,

    To target all posts, try this code :

    .site > .x-container {
        padding-top: 5% !important;
    }

    Hope it helps.

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