Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Image alignment

More
6 years 7 months ago - 6 years 7 months ago #55819 by Chrysant
Image alignment was created by Chrysant
Hi Ced, I´m actually fighting with PB-"Single Image" where some questions about image alignment takes place:

1. Entering the with (e.g. 300px) results as espected - Entering the height don´t. Why?


2. Using the Align-Buttons results as espected only in PB (Backend), not in the Frontend of the site. Why?


3. Align (center) the image with outside-margin (auto,auto) don´t take effect in PB (Backend) but in the Frontend. Why?
Last edit: 6 years 7 months ago by Chrysant.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #55825 by ced1870
Replied by ced1870 on topic Image alignment
Hi
the height is probably controlled by CSS (height:auto). The best way is to use the width setting, the image will automatically resize proportionnally
for the alignment, please give me the url of your page to check the problem
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #55828 by Chrysant
Replied by Chrysant on topic Image alignment
Site has development status: www.widmann-haustechnik.de/2020
You have received login data by email.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #55831 by ced1870
Replied by ced1870 on topic Image alignment
the alignement icon works, but there is a CSS conflict in your template
www.widmann-haustechnik.de/2020/templates/wht20/css/custom.css
line 5 on

img {
display: block;
}

this is not correct because it changes the natural behavior of all images in your website. This is a bad technique ...
you must remove that, and everthing will be working :)

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #55834 by Chrysant
Replied by Chrysant on topic Image alignment
That´s it. You are the best.
The img {display:block} I take over from a previous template because sometimes there is a small gap (ca. 10px) around images ... but that´s another topic.

Solved :)

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #55835 by ced1870
Replied by ced1870 on topic Image alignment
great :) thank you

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.196 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1175 guests and one member online