Home › Forums › Basel support forum › Basel – Custom CSS to remove double underline in Arrows and Carousel
Basel – Custom CSS to remove double underline in Arrows and Carousel
- This topic has 14 replies, 2 voices, and was last updated 4 years, 3 months ago by Elise Noromit.
-
AuthorPosts
-
August 13, 2020 at 6:49 pm #218538
oleg_dmitrievParticipantHi guys, thanks again for the wonderful theme, it’s a pleasure to work with, very customizable.
I added CSS to make links in red color. Can you please give me CSS to do two things:1) Remove red underline from arrows in Carousel (see this page: https://test.independent.wine/)
2) Remove second grey text-underline from class=product-title in product Carousel. (see this page: https://test.independent.wine/)
See image which shows what I want to remove: https://ibb.co/rpWcFsQ
Thank you for your help!
OlegAugust 14, 2020 at 6:52 pm #218787
Elise NoromitMemberHello,
You need to find the CSS in Custom CSS of the Theme Settings and remove the line shown on the screen: https://gyazo.com/a8598f98becbf0f2bd3b5aca7de35203
As soon as you remove the underline under the product title would also disappear.
Best Regards
August 14, 2020 at 7:37 pm #218799
oleg_dmitrievParticipantElise, thank you!
But if I do this, all underline from all links will disappear. The only underline I want to remove is (a) underline from the arrows (b) second underline from the product name.Here is my overall CSS for links, what should I change?
/*Change default dressing of links*/
a:not(.tabs wc-tabs) {
color: #C41E3A;
text-decoration: underline;
}
a:hover {
color: red;
}
.wpb_wrapper a {
color: #C41E3A;
text-decoration: underline;
}
.wpb_wrapper a:hover {
color: red;
}
.woocommerce-product-attributes-item__value a {
color: #C41E3A;
text-decoration: underline;
}
.woocommerce-product-attributes-item__value a:hover {
color: red;
}
.meta-post-categories a {
color: white;
text-decoration: none;
}
.meta-post-categories a:hover {
color: white;
text-decoration: underline;
}
.read-more-section a {
text-decoration: none;
}Thanks for your help!
August 14, 2020 at 7:55 pm #218807
oleg_dmitrievParticipant…I managed to remove the underline from the arrows by excluding the .btn style, but I am still struggling to remove the second underline from the product title. Can you please help with this?
.wpb_wrapper a:not(.btn) {
color: #C41E3A;
text-decoration: underline;
}August 15, 2020 at 7:21 am #218870
Elise NoromitMemberThat is fine. If you have any questions please feel free to contact us.
Best Regards
August 15, 2020 at 11:12 am #218918
oleg_dmitrievParticipantElsie,
I think you misunderstood me :))) I said that “I managed to remove the underline from the arrows” but I still have a problem with the second underline from the product title.Can you please tell me how to modify my CSS (or add a new piece of CSS) to remove the second red underline from the product-title?
a:not(.tabs wc-tabs) {
color: #C41E3A;
text-decoration: underline;
}.wpb_wrapper a:not(.btn) {
color: #C41E3A;
text-decoration: underline;
}August 16, 2020 at 1:01 pm #219068
Elise NoromitMemberHello,
These styles are caused by this custom CSS: https://gyazo.com/a8598f98becbf0f2bd3b5aca7de35203 remove this style and tell me what element you wanted to underline, I will provide the correct CSS.
Best Regards
August 16, 2020 at 6:38 pm #219107
oleg_dmitrievParticipantElise,
I disabled the style.
Now, the double underline disappeared = good.
Now, all links in .wpb_wrapper do not have underline = bad :))
See here: https://ibb.co/LNN8zT7Please send correct CSS – I want to avoid double underline in product-title, and I want by default all links in .wpb_wrapper to have single underline.
August 17, 2020 at 9:42 am #219208
Elise NoromitMemberHello,
Please provide all the pages URL and screens where you want to make link underline.
Best Regards
August 17, 2020 at 10:41 am #219220
oleg_dmitrievParticipantElise, it is the same page as in the beginning of this thread (in private content). I did what you asked me to, can you please provide an answer? Thanks
1) All I need is
a) to have ALL hyperlinks tag on PAges, Posts, and WooCommerce to have this style:a:not(.tabs wc-tabs) {
color: #C41E3A;
text-decoration: underline;
}
a:hover {
color: red;
}b) I don’t want product-title to have second underline
Example what I need is here: https://ibb.co/s5Jvtw4
3) As you told me on 16 August, I disabled the underline for links in the wpb_wrapper. Now, underline for all links has disappeared. You promised me to send me a correction for CSS.
.wpb_wrapper a:not(.btn) {
color: #C41E3A;
/* text-decoration: underline;*/3) Here’s my custom CSS for links. Please tell me how to change it.
I have been asking the same question for 4 days./*Change default dressing of links*/
a:not(.tabs wc-tabs) {
color: #C41E3A;
text-decoration: underline;
}
a:hover {
color: red;
}
.wpb_wrapper a:not(.btn) {
color: #C41E3A;
/* text-decoration: underline;*/
}
.wpb_wrapper a:hover {
color: red;
}
.woocommerce-product-attributes-item__value a {
color: #C41E3A;
text-decoration: underline;
}
.woocommerce-product-attributes-item__value a:hover {
color: red;
}
.meta-post-categories a {
color: white;
text-decoration: none;
}
.meta-post-categories a:hover {
color: white;
text-decoration: underline;
}
.read-more-section a {
text-decoration: none;
}
August 18, 2020 at 8:22 am #219442
Elise NoromitMemberHello,
Almost all the links have the same classes that are why I need to know certain places.
Let’s do the following.
Pages, posts – insert the class to the text block where you want links to have the underline.
As for the Woocommerce templates, provide URLs and screens.
Best Regards
August 25, 2020 at 7:20 pm #221196
oleg_dmitrievParticipantElise,
1) Text and Buttons Underline
I developed this CSS (please see below) which does what I want (it’s on https://www.independent.wine).2) Please help me fixt this issue: Link to the Blog category becomes Red on red and is not visible.
I defined .meta-post-categories a {color: white;text-decoration: none;} – but it does not work.
I defined .meta-post-categories a:hover {color: white;text-decoration: underline;} – and it works perfectly.
You can see it here: https://ibb.co/dP5Fmp9
What should I change?My full custom CSS for links:
/*Change default dressing of links*/
a:not(.tabs wc-tabs) {
color: #C41E3A;
text-decoration: underline;
}
a:hover {
color: red;
}
.wpb_wrapper a:not(.btn) {
color: #C41E3A;
}
.wpb_wrapper .wpb_text_column a {
text-decoration: underline;
}
.wpb_wrapper a:hover {
color: red;
}
.wpb_wrapper .btn a {
text-decoration: none;
}
.woocommerce-product-attributes-item__value a {
color: #C41E3A;
text-decoration: underline;
}
.woocommerce-product-attributes-item__value a:hover {
color: red;
}
.meta-post-categories a {
color: white;
text-decoration: none;
}
.meta-post-categories a:hover {
color: white;
text-decoration: underline;
}
.read-more-section a {
text-decoration: none;
}August 26, 2020 at 11:38 am #221375
Elise NoromitMemberHello,
Please have a look at the screen: https://prnt.sc/u65zxy
Please add this code to the Theme Settings > Custom CSS > Global:
.meta-post-categories a{ color:white!important; }
Best Regards
August 26, 2020 at 11:59 am #221380
oleg_dmitrievParticipantElise, thanks! it worked like a charm 🙂
August 26, 2020 at 9:19 pm #221484
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
The topic ‘Basel – Custom CSS to remove double underline in Arrows and Carousel’ is closed to new replies.
- You must be logged in to create new topics. Login / Register