- This topic has 8 replies, 3 voices, and was last updated 3 years, 4 months ago by Tom.
June 17, 2017 at 1:08 pm #335053Afroze
I was wondering if there was any way to have different locations for the “featured image” in desktop and mobile view?
I would like it to be “Above Title” in the desktop mode, and “Below Title” in the mobile mode.
If that’s not possible, is there any way I can move the image a few pixels upwards, using html or something?GeneratePress 1.3.48GP Premium 1.3June 17, 2017 at 7:41 pm #335162TomLead DeveloperLead Developer
That would be difficult – you would have to add the featured image twice, then hide/show using CSS.
I’m sure you can move it up though – can you link me to the page?June 18, 2017 at 2:46 am #335253Afroze
Thanks for the reply, Tom. Here is the page: http://afroze.me/blog/
Currently,I set the featured image to “Below Title”, which looks good in mobile mode, but off in desktop mode. Here is how it is supposed to look like in the desktop mode:
So the question is, if I can move the featured image a few pixels upwards (while still being in “Below Title” mode), so it resembles the layout in the image.June 18, 2017 at 8:00 am #335315LeoStaffCustomer Support
Sorry I’m a little confused.
The layout in the image is the same as what you have right now? This is what I see:
Are you wanting the featured image to line up above the title?June 18, 2017 at 9:47 am #335367TomLead DeveloperLead Developer
Setting it to “Above title” would fix that extra spacing. But then the issue is you don’t want it above the title on mobile, is that right?June 18, 2017 at 12:28 pm #335411AfrozeJune 18, 2017 at 6:40 pm #335472TomLead DeveloperLead DeveloperJune 19, 2017 at 2:19 am #335616Afroze
Thanks a lot, again!
The !important keyword after the margin change did the trick 🙂June 19, 2017 at 9:59 am #335767
- You must be logged in to reply to this topic.