CSS is not being applied on this div
-
Hello, why is this css not being applied on this div ??
Attachments:
You must be
logged in to view attached files.
Hello,
There are so many reasons that sometimes our css code not applying. You might be using the wrong class or it is also possible that the way of your selection of that div is not correct. Or you write that css code in some wrong files.
Kindly share the page url where that specific div exist which you want to modify using your custom css but your code is not applying. So I’ll help you out.
Best Regards.
The div is in the cart widget and sidebar on mobile phones.
Attachments:
You must be
logged in to view attached files.
Hello,
Actually you used your css code in some wrong file. I have test the same code without mentioning the div and just by hitting the class name the line height increased and also the text shown in the center. To make the below css works you need to insert the css code in Theme Settings >> Custom Code >> Global Custom Css:
.vyhodny-nakup{
line-height: 25px;
text-align: center;
}
Screenshot: https://jmp.sh/XC5ja7b
Result: https://jmp.sh/WC73WPB
Best Regards.
No, not really, i added your code, cleaned cacheds and still.
Hello,
It works on my end. You can check the video for more clarification: https://jmp.sh/Hgt3Aoa
Kindly clear your site as well as browser cache.
Best Regards.
Found the issue, i had a letter after the css comment.
Hello,
We are glad that you found and resolve the issue, You are the best :-)
.
If you need any help in future, please feel free to contact us anytime, we are always here to help you.
Thanks for contacting us,
Have a great day :-)
Topic Closed.
Best Regards.
The topic ‘CSS is not being applied on this div’ is closed to new replies.