WordPress.org

Forums

Spun
[resolved] How to always display comments (10 posts)

  1. skanton22
    Member
    Posted 2 years ago #

    How can I remove the comments toggle function (always display comments), and the corresponding button?

    Thank you

  2. Andrew Nevins
    Forum moderator
    Posted 2 years ago #

    Let's see a page with the comments

  3. skanton22
    Member
    Posted 2 years ago #

    My apologies for not being clear enough.

    Here is the link:

    http://antonlaura.ca/?p=9

    We are looking to turn the comments section into a simple guestbook and would like to remove the comments trigger function and button, (displaying comments directly, without need to click on button).

    Following available advice on another post, we were able to display widgets directly, and remove the button that expands the function originally. Thus, was wondering how the same could be done for comments trigger/button.

    With few personal adjustments, this theme is going to shine!

    Thanks for your patience and support.

  4. Andrew Nevins
    Forum moderator
    Posted 2 years ago #

    Add this to your Custom CSS:

    // Hide the comments trigger
    .comments-link {
     display: none;
    }
    
    // Show the comments
    #comments {
     display: block;
    }
  5. skanton22
    Member
    Posted 2 years ago #

    With this addition the trigger is removed, but the comments do not display.

  6. Andrew Nevins
    Forum moderator
    Posted 2 years ago #

    My bad, it's this:

    /* Hide the comments trigger */
    .comments-link {
     display: none;
    }
    
    /* Show the comments */
    #comments {
     display: block;
    }
  7. skanton22
    Member
    Posted 2 years ago #

    That works, thank you!

    The other main thing I am trying to work out is changing the size and colour of Menu and Title elements. I cannot figure out what overrides my CSS changes. It is referenced here:

    http://wordpress.org/support/topic/unable-to-change-colours-of-title-and-menu?replies=1

  8. skanton22
    Member
    Posted 2 years ago #

    The latter issue has been resolved on my end as well. I am able to change the style with ease now.

  9. Andrew Nevins
    Forum moderator
    Posted 2 years ago #

    Cool, could you post up the solution on that thread? Thanks.

  10. miharbio
    Member
    Posted 2 years ago #

    Hey.. I'm just looking at this to see what the difference is between the code solution you first gave and your correction, but I don't see anything other than the way the comments are commented out.. is that it?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.