Home › Forums › I Am One Support › How can i center image the img that i have in my nivoslider?
- This topic has 4 replies, 2 voices, and was last updated 7 years, 2 months ago by Sonl Sinha.
-
AuthorPosts
-
July 22, 2017 at 5:32 am #79028
I want to center the image i have in my nivo slider i used .nivoSlider{height:400px;} to fit it how i wanted but the img i am only seing the top part of the img is there any css to center it? just the img
http://jdbrokercorp.com/sry if wrong post on forums
July 22, 2017 at 6:07 am #79034Hi,
Kindly go to Appearance>>Theme Options>>Basic Settings>>Custom CSS Box:
Add this code there:
.nivoSlider img { top:-180px !important;}
Regards,
ChrisJuly 22, 2017 at 4:38 pm #79055thank you does it work for every img in the slider? i only have 1 but i can put up to 6 i think. My first slider img is fine now if i want to put a second one it will have the same effect?
July 22, 2017 at 8:09 pm #79066thank you does it work for every img in the slider? i only have 1 but i can put up to 6 i think. My first slider img is fine now if i want to put a second one it will have the same effect? also i cant add img to my header every time i add one it doesn’t appear is there anyway possible to merge the slider img to cover my heading with my menu? Thank you!
July 25, 2017 at 7:18 am #79168Hi,
Kindly go to Appearance>>Theme Options>>Basic Settings>>Custom CSS Box:
Add this code there:
.nivoSlider:nth-child(1) img { top:-300px !important;}
Regards,
Chris -
AuthorPosts
- You must be logged in to reply to this topic.