Image alignment
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?
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:4 years 3 weeks ago
by Chrysant
Last edit: 4 years 3 weeks ago by Chrysant.
Please Log in or Create an account to join the conversation.
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
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
by ced1870
Please Log in or Create an account to join the conversation.
Site has development status:
www.widmann-haustechnik.de/2020
You have received login data by email.
You have received login data by email.
by Chrysant
Please Log in or Create an account to join the conversation.
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
you must remove that, and everthing will be working
www.widmann-haustechnik.de/2020/templates/wht20/css/custom.css
line 5 on
this is not correct because it changes the natural behavior of all images in your website. This is a bad technique ...img {
display: block;
}
you must remove that, and everthing will be working
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
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
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
by Chrysant
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Time to create page: 0.683 seconds