jacopo
  jacopo
Gold Member
  Monday, 05 March 2018
  4 Replies
  788 Visits
0
Votes
Undo
Hi, in some of my websites the event image is disaligned from center in event description page... even if in the layout i set the image tag to center...

like in the attached picture

how can i solve this?
Thursday, 08 March 2018 22:26
·
#198660
Accepted Answer
0
Votes
Undo
The problem is your template is telling images to be blocks so they won't follow text-align center. This CSS will make them central though:


.headingrow img {margin: auto auto !important;}


Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Monday, 05 March 2018 21:26
·
#198485
0
Votes
Undo
I would need to see a link? But suspect it's how you have styled it?

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Thursday, 08 March 2018 22:26
·
#198660
Accepted Answer
0
Votes
Undo
The problem is your template is telling images to be blocks so they won't follow text-align center. This CSS will make them central though:


.headingrow img {margin: auto auto !important;}


Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Friday, 09 March 2018 12:28
·
#198682
0
Votes
Undo
thanks that worked perfectly :-)
  • Page :
  • 1
There are no replies made for this post yet.