Hyperlink format

Posted in: Newspaper
Post count: 11

Is there an easy way to set a universal hyperlink format (color, underline, bold)? Seems I’m missing it if there is.

Post count: 27744

Hello,

If you want to change the color to a hyperlink inside a post (that is made with classic editor) then you can use the classic element and set the color like this http://prntscr.com/ooijd1 if you use Gutenberg this option isn’t available => https://wordpress.org/support/topic/changing-hyperlink-colour-in-gutenberg/
If you are referring to the element from a page, then you can edit it using the tagDiv Composer, click on the element and check the style tab http://prntscr.com/ooikok -> https://forum.tagdiv.com/flex-block-settings-guide/

or if you want to have the all hyperlinks on post to be underline you can use a custom css -> http://prntscr.com/opecdr
.single .td-pb-span8 .tdb_single_content a{
text-decoration: underline!important;
}

The code needs to be set in Theme panel -> Custom code -> Custom CSS and will apply on all post that has set a single post templates form Cloud Library

Theme colors introduction -> https://forum.tagdiv.com/theme-colors-introduction/

Thank you!

Post count: 103

Hello

Custom CSS: I prefer without it.

Theme colors introduction -> https://forum.tagdiv.com/theme-colors-introduction/ : this one change color for any selected option but doesn’t have option for links only.

Okay thank for your reply.

Regards
Alex

Post count: 35449

Hi VeriArtem,
Yes, our theme have some general settings for color in the theme panel and also individual settings that need to be set using the theme builder (tagDiv Composer), unfortunately, there is no option for color that will be apply to all link and only on links. For example, the access color is an option that will apply on links, that it will be apply on all elements that contain an a href.
Thank you!

Post count: 29

Why not have an option in theme colors for links. It would save a lot of frustration. I still have no idea how to change such a simple thing!

Post count: 27744

Hello @jim-2,

You can change the color for the link, but if you want to have a different style, like with underline, you need to use a custom code css -> https://i.imgur.com/OYyCb1Y.png

Thank you!

Post count: 234

It would be really great to add an option to theme option to customize the look of the links because it is a bit frustrating and I am really struggling.

I wrote a ticket about that: https://forum.tagdiv.com/topic/customize-hyperlinks/#post-473491 but still fighting to get all my post links to have an underline by default. And when we cursor is over the link, I would like the add a background color, so the link is clearly visible.

Post count: 27744

Hi,

This can be done in the post editor -> https://i.imgur.com/ZK12FHo.png -> https://i.imgur.com/h42DCa5.png

Thank you!

Post count: 8

Does adding the custom code to style the hyperlinks apply to the mobile theme as well?

If not, how to change the format of the hyperlinks in mobile?

Post count: 27744

Hi,

For mobile theme please use this code
.single .td-post-content a{
text-decoration: underline!important;
}

Set the code in Newspaper -> Theme panel -> Mobile Theme -> Custom code.

Thank you!

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