All Topics 1133
SupportCategory: Nominee WPHow to hardcode top:0 for home slide images?
How to hardcode top:0 for home slide images?
By r3lai asked 7 years ago

Hello,
I’ve reduced the home slider height from the default to 545px as recommended by one of your other threads. However, many of my images are cut off from the top for wider browsers, and for headshots that means half my head is missing. I think the issue is the “top” attribute increases as the width of the browser increase as well. 
I’ve tried creating an extra class name specifically for the slider image, but the class gets assigned to the <li> element rather than the <img> element, which doesn’t means the extra class doesn’t do anything to help.
Is there a way for me to fix the Top to 0 in the slider image so my head doesn’t get cut off?

Support is Online

Our office hours

Monday - Thursday / 10am - 6pm (GMT +6)

Our Time

Your Time