我想调整 html 设置中的图标大小并删除图标下的下划线,我使用以下代码但它不起作用,网站上的社交图标大小仍然固定,下划线始终存在
<元名称=“视口” 内容=“宽度=设备宽度,初始比例=1”><
链接 rel=“样式表” href=“https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
我想调整 html 设置中的图标大小并删除图标下的下划线,我使用以下代码但它不起作用,网站上的社交图标大小仍然固定,下划线始终存在
<元名称=“视口” 内容=“宽度=设备宽度,初始比例=1”><
链接 rel=“样式表” href=“https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
Hi @nonnico Just copy and paste below css in your CSS file
.social-icon{
text-decoration: none;
}
Please let me know if works and please like and mark as solve!
Nonico你好!
你可以给我你的店铺网址吗? 图标样式可以很方便的通过CSS修改,但是你把CSS写成中文就很奇怪了,你不应该这样做。
我在提供的代码中有此代码,但它不起作用,这就是我要问的,为什么我添加了 .social-icon{
text-decoration:none; 没有效果
Hello @nonnico
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
.t4s-rte a:not(.btn):not(.t4s-link):not(.t4s-btn):not(.t4s-button):not(.t4s-a) {
border-bottom: 0px !important;
}
And what about resizing?
Thank you, it worked. Also I would like to ask how the same problem should be solved in the following words on the Thank you, it worked. Also I would like to ask how the same problem should be solved in the following words on the product page, also the social icons
Product link https://nonnico.com/collections/alpha/products/alpha-vape-gold?variant=43013996904599product page, also the social icons
Product link https://nonnico.com/collections/alpha/products/alpha-vape-gold?variant=43013996904599
Hello
After I used the code you provided, my Page heading section became right-handed and I can’t restore it.