Home Forums WoodMart support forum CSS is not being applied on this div

CSS is not being applied on this div

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #146069

    pogopie
    Participant

    Hello, why is this css not being applied on this div ??

    Attachments:
    You must be logged in to view attached files.
    #146075

    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.

    #146079

    pogopie
    Participant

    The div is in the cart widget and sidebar on mobile phones.

    Attachments:
    You must be logged in to view attached files.
    #146096

    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.

    #146109

    pogopie
    Participant

    No, not really, i added your code, cleaned cacheds and still.

    #146120

    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.

    #146404

    pogopie
    Participant

    Found the issue, i had a letter after the css comment.

    #146421

    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.

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘CSS is not being applied on this div’ is closed to new replies.