[Support request] Widget Bullet Point Spacing

Home Forums Support [Support request] Widget Bullet Point Spacing

Home Forums Support Widget Bullet Point Spacing

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #971556
    Adam

    Hey,

    I used the following code to add bullet points to my recent post widget

    `.widget.widget_recent_entries li {
    list-style-position: inside;
    list-style-type: disc;
    }`

    I’m just wanting to shorten the gap between bullet point and writing, so the writing is closer/more flush to the bullet point.

    Also, separate question. How can I remove the website url in the comments section. I have searched the forum, and tried a few, but couldn’t get it working.

    #971613
    David
    Staff
    Customer Support

    Hi there,

    you can try this CSS to reduce the spacing:

    .widget.widget_recent_entries li a {
        position: relative;
        left: -5px;
    }

    For the Comments website field try the PHP snippet TOM provides here:

    https://generatepress.com/forums/topic/how-to-remove-url-field-from-wordpress-comment-form/#post-589904

    #971872
    Adam

    Thanks David. That sorted the spacing issue. Curious if its possible to flush the text as well?

    So the second line of text is lined up with the top text, instead of sitting under the bullet point?

    #972333
    Tom
    Lead Developer
    Lead Developer

    Instead of the CSS above, try this:

    .widget_recent_entries ul {
        margin-left: 1em;
    }
    
    .widget_recent_entries ul li {
        list-style-type: disc;
        margin-bottom: 5px;
    }

    Let me know 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.