Bold underline strikethrough

RGZ
16 Posts
RGZ posted this 10 April 2020

Can somebody help me to make a Bold underline strikethrough like in the attachment for links? I can make it but only with a line under the text and not a strikethrough at the bottom.
Thanks for you help...

Marc

Can somebody help me to make a Bold underline strikethrough like in the attachment for links? I can make it but only with a line under the text and not a strikethrough at the bottom. Thanks for you help... Marc
Vote to pay developers attention to this features or issue.
13 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 11 April 2020

Hello Marc,
1. Do you have the link to the site where such example is live?

  1. Do you want this effect on all your links or specific ones?

Gina
Themler Support

Hello Marc, 1. Do you have the link to the site where such example is live? 2. Do you want this effect on all your links or specific ones? Gina Themler Support
RGZ
16 Posts
RGZ posted this 11 April 2020

Hi Gina,

Yes, i saw it on this site:
https://www.learnreligions.com/what-is-the-meaning-of-faith-700722

Best regards, Marc.

Hi Gina, Yes, i saw it on this site: https://www.learnreligions.com/what-is-the-meaning-of-faith-700722 Best regards, Marc.
Support Team
Support Team posted this 16 April 2020

Marc,

I apologize for the delay.

This effect is achieved using background image property. Themler doesn't have it for links.

We can though help you to implement it with custom code. Could you please provide the link to your site? Would you like to have it for breadcrumbs as well?

Pasting example code below for future reference:

a:hover {
background-image: linear-gradient(to right,#F5B88F 100%,#fff 0);}

Gina
Themler Support

Marc, I apologize for the delay. This effect is achieved using background image property. Themler doesn't have it for links. We can though help you to implement it with custom code. Could you please provide the link to your site? Would you like to have it for breadcrumbs as well? Pasting example code below for future reference: a:hover { background-image: linear-gradient(to right,#F5B88F 100%,#fff 0);} Gina Themler Support
RGZ
16 Posts
RGZ posted this 16 April 2020

Dear Gina, Thank you for your help. With this code i get a filled background but what i want is the Bold underline strikethrough line that goes through the bottom of the text. Is that also possible?

Dear Gina, Thank you for your help. With this code i get a filled background but what i want is the Bold underline strikethrough line that goes through the bottom of the text. Is that also possible?
Support Team
Support Team posted this 16 April 2020

Sorry, more code is required:

a:hover {
    background-position: 0 12px;
    background-repeat: repeat-x;
    background-size: 100% 5px;
    margin-left: -1px;
    margin-right: -1px;
    }

Gina
Themler Support

Sorry, more code is required: a:hover { background-position: 0 12px; background-repeat: repeat-x; background-size: 100% 5px; margin-left: -1px; margin-right: -1px; } Gina Themler Support
RGZ
16 Posts
RGZ posted this 17 April 2020

Hi Gina,

Thank you, this is great!

Last question: where can i find a list of the names of every specific type of link. I want to have different code for the regular links in the text and for the links in the sidewidgets of panels.
Is there something like that?

Best regards, Marc.

Hi Gina, Thank you, this is great! Last question: where can i find a list of the names of every specific type of link. I want to have different code for the regular links in the text and for the links in the sidewidgets of panels. Is there something like that? Best regards, Marc.
Support Team
Support Team posted this 17 April 2020

Themler is using Bootstrap classes, you would need to study entire Bootstrap structure for CSS to get the answer for this. Can you provide the link to your site and specify links in different parts of the site so we could help and get those classes for you?
I will show on the screenshots how I do it.

Gina
Themler Support

Themler is using Bootstrap classes, you would need to study entire Bootstrap structure for CSS to get the answer for this. Can you provide the link to your site and specify links in different parts of the site so we could help and get those classes for you? I will show on the screenshots how I do it. Gina Themler Support
RGZ
16 Posts
RGZ posted this 17 April 2020

Oke :P

Here is a link
https://www.gemeentedevesting.nl/informatie/anbi/

I want to use the code that you have sent me for all the text links, bullets, etc. (thats working already)

I want to use a little different code for all the other links on the left side of the website

Isn't there a way to find it out myself with inspecting elements?

Best regards, Marc.

Oke :P Here is a link https://www.gemeentedevesting.nl/informatie/anbi/ I want to use the code that you have sent me for all the text links, bullets, etc. (thats working already) I want to use a little different code for all the other links on the left side of the website Isn't there a way to find it out myself with inspecting elements? Best regards, Marc.
Support Team
Support Team posted this 17 April 2020

Steps to get CSS class:

  1. Right-click on the page where your link is and select Inspect:

    1-inspect.png

  2. Use the arrow option to select the element on the page, this would show you the code in the developing console:

    2-select-object.png

  3. When you click on that line of code responsible for that link, on the right you should see CSS code.
    The fist block of CSS usually shows closest CSS class:

    3-copy-class.png

You can copy this class and then add the code to it, for example:

.bd-block-3 .bd-blockcontent:not(.shape-only) a:hover {
background-image: linear-gradient(to right,#F5B88F 100%,#fff 0);}
    background-position: 0 12px;
    background-repeat: repeat-x;
    background-size: 100% 5px;
    margin-left: -1px;
    margin-right: -1px;
    }

Note that I am adding :hover in the end of the CSS class for the code to work on hover only.

Gina
Themler Support

Steps to get CSS class: 1. Right-click on the page where your link is and select Inspect: !1-inspect.png! 2. Use the arrow option to select the element on the page, this would show you the code in the developing console: !2-select-object.png! 3. When you click on that line of code responsible for that link, on the right you should see CSS code. The fist block of CSS usually shows closest CSS class: !3-copy-class.png! You can copy this class and then add the code to it, for example: .bd-block-3 .bd-blockcontent:not(.shape-only) a:hover { background-image: linear-gradient(to right,#F5B88F 100%,#fff 0);} background-position: 0 12px; background-repeat: repeat-x; background-size: 100% 5px; margin-left: -1px; margin-right: -1px; } Note that I am adding :hover in the end of the CSS class for the code to work on hover only. Gina Themler Support
RGZ
16 Posts
RGZ posted this 17 April 2020

I understand how to do it now!
Thank you, very happy...

Marc.

I understand how to do it now! Thank you, very happy... Marc.
RGZ
16 Posts
RGZ posted this 02 May 2020

Dear Gina, is it possible to apply it only on the normal links in the text? (and not on other links like in a widget)
When i use the a:link en a:hover it applies the effect on all the links in my website.
Its a lot of work to exclude all the other links if i use the this methode.

Is that possible?

Best regards, Marc.

Dear Gina, is it possible to apply it only on the normal links in the text? (and not on other links like in a widget) When i use the a:link en a:hover it applies the effect on all the links in my website. Its a lot of work to exclude all the other links if i use the this methode. Is that possible? Best regards, Marc.
Support Team
Support Team posted this 03 May 2020

Hello Marc,

Try adding article to the code, like this:

article a:hover {}

Gina
Themler Support

Hello Marc, Try adding article to the code, like this: article a:hover {} Gina Themler Support
RGZ
16 Posts
RGZ posted this 03 May 2020

jeej :)

jeej :)
You must log in or register to leave comments