Welcome, Guest
Username: Password: Remember me
Discussion about the Another Events Calendar plugin for WordPress.

TOPIC: Attempting to adjust image size in text body

Attempting to adjust image size in text body 3 months 4 weeks ago #1335

  • David Mandel
  • David Mandel's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
I am attempting to insert an icon (Everbrite) into the text body of the event record and fix it to a specified size. No matter how I set the size, it always displays as the full width of the frame. Here is an example: fiddleandbow.org/aec_events/john-lilly/.

The in-line width/height code appears to be overwritten by a class and I could use some help in modifying this.
<a href="www.eventbrite.com/e/fiddle-bow-presents...-34932870155?aff=es2" target="_blank" rel="noopener"><img class="aligncenter wp-image-460" src="fiddleandbow.org/wp-content/uploads/2017...entbrite-300x161.jpg" alt="" width="50" height="86" /></a></p>

Thanks for any assistance.

David
The administrator has disabled public write access.

Attempting to adjust image size in text body 3 months 4 weeks ago #1336

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 263
  • Thank you received: 56
  • Karma: 14
Try adding a width to the anchor element. Kindly check the example below.
<a href="www.eventbrite.com/e/fiddle-bow-presents...-34932870155?aff=es2" target="_blank" rel="noopener" style="display: inline-block; width: 50px;"><img class="aligncenter wp-image-460" src="fiddleandbow.org/wp-content/uploads/2017...entbrite-300x161.jpg" alt="" width="50" height="86" /></a>

Note that I have also added a display property.
style="display: inline-block; width: 50px;"
The administrator has disabled public write access.
The following user(s) said Thank You: David Mandel

Attempting to adjust image size in text body 3 months 4 weeks ago #1337

  • David Mandel
  • David Mandel's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Thanks. That did it! Much appreciated.
The administrator has disabled public write access.
Time to create page: 0.123 seconds