sixrfan — 2014-04-20T10:08:57-04:00 — #1
on this page when you click on any of the images, the enlarged picture is off to the right with the red X in the middle. what i want to have happen is have the picture centered. and the X over top of it in the upper right area of the picture.
any idea how i go about that? please advise. thanks in advance!
paulob — 2014-04-20T10:17:25-04:00 — #2
Try something like this:
sixrfan — 2014-04-20T10:31:04-04:00 — #3
thanks. that did work.
but raised another issue. this is a responsive site. and when the browser width is shrunk to that of a phone, the pic is not quite centered even though the caption is: http://prntscr.com/3brk34
any idea how i center the picture in that instance?
paulob — 2014-04-20T10:36:26-04:00 — #4
Hi that looks a screenshot of your existing code?
When I add my fix the image is perfectly centred at 320px window width.
Have you cleared cache?
sixrfan — 2014-04-21T09:45:18-04:00 — #5
yes, i've cleared my cache. it seems that when i clear the cache and first click on a picture on that page the alignment is off, but when i click the arrows to go to another image, then navigate back, the alignment is centered.
maybe there's some more complicated caching issue going on. we do not have any active caching plugins.
paulob — 2014-04-21T10:41:52-04:00 — #6
I'm still not seeing the code I gave you in that page?
You seem to have the rule in the css but pre-fixed width a #post26 id but there is no such id in the page.
sixrfan — 2014-04-22T15:11:42-04:00 — #7
oops. i had the wrong page id. its working now. thanks!