I am in the process of creating a new necter slider frame, but don't want the headline and caption text to display full width - so the text doesn't display over the image of the book. (see attached) is there a way of targeting this 4th necter slider to only display the headline and caption copy to 60% width?
I'm not sure what I am meant to do here? I copied the Custom CSS into the Salient Options panel, but I don't know what changes the right hand margin? plus any setting I change within the code, have no effect of the necter slider. Am I missing something? I just need to set the width of the text container to 60% so that the text doesn't flow full width (as I will have an image on the right hand side that I don't want the text to flow over)
Hi,
I am in the process of creating a new necter slider frame, but don't want the headline and caption text to display full width - so the text doesn't display over the image of the book. (see attached) is there a way of targeting this 4th necter slider to only display the headline and caption copy to 60% width?
Hey Daniel,
Yes use the nth-child selector . Have a look at this article :Adjust Nectar Slider Text with CSS .
Thanks
ThemeNectar Support Team
Hi Tahir,
I'm not sure what I am meant to do here?
I copied the Custom CSS into the Salient Options panel, but I don't know what changes the right hand margin? plus any setting I change within the code, have no effect of the necter slider. Am I missing something?
I just need to set the width of the text container to 60% so that the text doesn't flow full width (as I will have an image on the right hand side that I don't want the text to flow over)
Any help will be much appreciated
Hey Again,
Use this css, If its the Third slide add 4 to the nth-child if its Second Slide add 3 . Just add 1 plus to the slide you want it to target.
Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :
Thanks
ThemeNectar Support Team
Thanks Tahir!
works a treat