Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

How to change button texts in comments section


LIFEIST

Question

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0
On 3/12/2021 at 3:02 PM, LIFEIST said:

Site URL: https://www.lifeist.cz

Hi, I need to change the texts (language) in the whole comment section (Comments, Newest first, Subscribe via e-mail, Preview, Post comment).  Does anyone know how?

Hi. Add to Design > Custom CSS

/* translate comment form */
/* coumment count */
h3.comment-count span {
    visibility: hidden;
}
h3.comment-count span:before {
    visibility: visible;
    content: "New comment";
}
/* newer first */
.comment-sort>span {
    visibility: hidden;
}
.comment-sort>span:after {
    visibility: visible;
    content: "newer new";
}
/* subscribe via email */
span.subscribe.subscribe-control {
    visibility: hidden;
}
span.subscribe.subscribe-control:after {
    visibility: visible;
    content: "Subscribe";
}
/* preview */
span.btn-text.preview-comment.top-level-preview-btn {
    visibility: hidden;
}
span.btn-text.preview-comment.top-level-preview-btn:after {
    visibility: visible;
    content: "New preview";
}
/* post comment */
span.comment-btn.sqs-system-button.sqs-editable-button-font.sqs-editable-button-shape {
    visibility: hidden;
}
span.comment-btn.sqs-system-button.sqs-editable-button-font.sqs-editable-button-shape:after {
    content: "Post comment new";
    visibility: visible;
    background: #253551;
    color: white;
    font-family: neue-haas-grotesk-display;
    font-weight: 500;
    font-style: normal;
    text-transform: none;
    line-height: 1.2em;
    letter-spacing: .05em;
    -webkit-font-smoothing: antialiased;
    font-size: 1rem;
    line-height: normal;
    padding: 1.3rem 2.171rem;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...