Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1101583

    Greetings,
    I’m trying to add some dropshadow behind my special heading element. I followed this thread but it doesn’t seem to be working.
    https://kriesi.at/support/topic/how-to-add-text-drop-shadow-to-a-tag-such-as-h1/

    I added this code and gave the element and gave the element the class textshadow but it doesn’t seem to be applying

    #textshadow .av-special-heading-tag {
    text-shadow: 0px 0px 5px black !important;
    }

    #1102157

    Hey oscarluque,
    This is because the “textshadow” you gave it is a class and not an ID
    Please try this css instead:

    .textshadow .av-special-heading-tag {
    text-shadow: 0px 0px 5px black !important;
    }

    Best regards,
    Mike

    #1102556

    OK, when I add that code it seems to apply to several of my special-headings not just the one I assigned a class. as a test The only element this should apply is the one in the screenshot. Once nailed down I will apply this to a few more sections.

    • This reply was modified 6 years, 1 month ago by oscarluque.
    #1102655

    Hi,
    I took a look at your page and don’t see this css applying to other special headings, was what you saw on the same page or other pages?
    To test I changed your css in my dev tools to be much larger and red so it would be easier to see for me, Please see the screenshot in Private Content area.
    I also searched your page for the class “textshadow” but it only came up once.
    Please elaborate.

    Best regards,
    Mike

    #1103055

    On the homepage it is applying to the class “textshadow” which is one instance. The code is applying to other pages though that do not have that class. on the Products (and other pages) the dropshadow is also applied to two of the special heading which do not have the code – I included a screenshot. On that note I will be applying this class to other pages that have the special heading but not the ones that were assigned with the code you gave me.

    • This reply was modified 6 years, 1 month ago by oscarluque.
    #1103152

    Hi,
    Thank you for the explanation and the link, I took a look and found that on the page all 3 special headings for “products” contain the “textshadow” class. Please see the screenshot in Private Content area. It sounds like you have check the element for the class and didn’t find it. So I will need admin login to investigate.

    Best regards,
    Mike

    #1103482

    How odd… Ok that solves that! I thought I deleted that before I cloned. Is there a way to have the sub heading in the special heading to have a drop shadow as well?

    #1103496

    Hi,
    Glad to hear that is solved.
    To include the sub-heading, please using this css instead:

    .textshadow .av-special-heading-tag,.textshadow .av-subheading {
    text-shadow: 0px 0px 5px black !important;
    }

    Best regards,
    Mike

    #1111710

    Thanks, this worked for me.

    #1111738

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Dropshadow behind text’ is closed to new replies.