Okay
  Public Ticket #3557345
Adding shadow to simple text
Closed

Comments

  •  1
    pesho-tupalkata started the conversation

    Hello I want to add a drop shadow to text in the front page, type is H1 I tried couple of variants with CSS but no luck so far

  •  1,921
    Judith replied

    Hi Pesho-tupalkata,

    Thanks for writing to us.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    body .wpb_text_column {
        text-shadow: 4px 4px 4px black;
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related

    If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 


  •  1
    pesho-tupalkata replied

    Hello it did not work. what am I doing wrong?

  •  8,939
    Tahir replied

    Hey Again,

    If you wish to add it to the H1 only use below CSS.

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    body h1 {
        text-shadow: 4px 4px 4px black !important;
    }

    Thanks


    ThemeNectar Support Team 

  •  1
    pesho-tupalkata replied

    Hello, unfortunately this solution did not work as well

    I am going to Salient>General settings>CSS and Script related and adding the code you provide in empty sheet at "Custom CSS code" Line 1, 2 and 3 I click "Save changes" and proceed to refresh the browser tab with my website. I am guessing that I make a mistake somewhere on the way or there is a option I am missing, dunno. I only know I have been banging my head against the wall with this since yesterday and its driving me crazy :)


    There are no indication for the code to be wrong, there was a (!) at the line with " ;important;" but no red crosses 

  •  1
    pesho-tupalkata replied

    It wooooorked! thank you!