New Landing How can we help? Cardinal Wrapping comments section in the archives/blogs etc

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Cardinal
  • #94252
    Littbarski
    Member
    Post count: 26

    Hi.

    1) I has used the css

    .comments-wrap {
    display: none;
    }

    for not showing the comment section before. But for archives, author pages, blogs etc they still appear. Can I wrap them also on these pages via css or should I delete them with hardcoding?

    2) I also want to wrap and do not want to show “previous – next article” bar. (But I want to use that fullwidth part for some other code.

    May be it is just me but these section shows wrong, it shows previous article in the next and vice versa. Also this section cut headings too oddly but maybe it is just me, not sure.

    thanks

    #94359
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Please could I see your link to check?

    – Kyle

    #94414
    Littbarski
    Member
    Post count: 26
    This reply has been marked as private.
    #94416
    Littbarski
    Member
    Post count: 26
    This reply has been marked as private.
    #94423
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    1) I don’t see a comment section on this page?

    2) I’m afraid you would need to edit php files for that, and as you are adding custom content there I’m afraid we can’t support for it as it is more than a small customisation

    3) What is the issue?

    – Kyle

    #95817
    Littbarski
    Member
    Post count: 26
    This reply has been marked as private.
    #95900
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @Littbarski,

    1) To remove comments, it’s usually better to disable them in Settings > Discussion? But you can add this custom css to remove the icon + comment count:

    .blog-item .comments-likes .comments-wrapper {
    display: none;
    }

    2) You can add your own section with a simple function in your child theme functions.php:

    function your_function() {
    	
    }
    add_action('sf_post_after_article', 'your_function', 10);

    3) Can you provide a login for me to check this?

    – Ed

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register