[Support request] Style for the post body links

Home Forums Support [Support request] Style for the post body links

Home Forums Support Style for the post body links

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1439737
    Jagoba

    Hi there,

    We would like restyle the links in our blog, underline the links just from content (no sidebar, no menu, …)
    And if possible move up a little bit the line so that it touches the letters

    I get just something like this but I am far away 😛

    a { border-bottom: 8px solid #f4f4f4;
    font-weight: 500;
    }

    #1439886
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    What about some regular text-decoration?:

    .entry-content a {
        text-decoration: underline;
    }

    Let me know 🙂

    #1442227
    Jagoba

    Hi Tom,

    It is not working with “.entry-content” and also we are looking to customize a little bit with the border-bottom and font-weight.

    We use GeneratePress and Elementor. Any other idea?

    Thank you so much

    #1442231
    David
    Staff
    Customer Support

    Hi there,

    can you provide a link to your site where we can some linked content.

    #1442235
    Jagoba
    #1442263
    David
    Staff
    Customer Support

    Try this:

    .single-post .elementor-widget-container a {
        text-decoration: underline;
    }
    #1442383
    Jagoba

    Hi David,

    With this code we are underlining also the sidebar content “CONTRATA NUESTRO HOSTING DE CONFIANZA CON UN DESCUENTO AQUÍ” and in the header “DESCARGA LA GUÍA GRATIS”.

    Thanks David

    #1442408
    David
    Staff
    Customer Support

    The problem is all of your content is created in Elementor and there is no easy way to separate the content from the sidebar.

    If you can edit the template and add a CSS Class eg. main-content to the Column with your post content then i may be able to do something.

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