Image Size
-
Hello
How can i make that the images get smaller in data table column?
Best Regards
-
Hi @icemanmx ,
I understand that you want to adjust the images in your data column. Let me help you with this.
This can actually be achieved with the use of CSS.
Can you please send the page URL you are working on so we can have a look?
We’ll wait for your reply.
Hi
url is https://factura.icemanmx.com/ib-odt-orden/ and take the Ord ID (key) 6 there i have som images, they are to big, and i want them a bit smaller, but i should also be able to click on them to see them in right size… I am using image url in the column.
Regards
-
This reply was modified 2 years, 10 months ago by
icemanmx.
Hi @icemanmx ,
Thanks for providing the page URL.
For the image size, can you please try this CSS code?
.dataTable img{ min-width: 300px !important; }Feel free to adjust the pixels depending on your preferred size.
As for the clickable link, you would need to have some sort of lightbox plugin so you can open the full-sized image after clicking.
I hope this helps.
Let us know how it goes for you.
Hello
Ok, i am new to this wp data access program, so where do i put the code?
Regards
Hi @icemanmx,
You can add custom CSS by going to Appearance > Customize > Additional CSS (or to wherever you usually add custom CSS)
https://share.getcloudapp.com/rRuQ4Q45
Hope that helps! Let us know if you have more questions.
Hello
That did not function icemanmx.com/d/2023-07-28_11-54-37.png Also i have a 3 site license and my second domain don´t show up on my account..
And how can i make so the table don´t show empty fields?
Regards
Hi @icemanmx,
Thanks for the response.
Can you change the CSS code to:
.wpda_publication_container img{ width: 20% !important; }You may change the value to fixed units like px.
About your license:
Since you’re a premium user, kindly send us a message at Contact | WP Data Access about your account.
You can also include other current issues you’re experiencing in your message.
We’ll wait for your email!
Hello
Ok, that code worked.. Thanks
Regards
-
This reply was modified 2 years, 10 months ago by
The topic ‘Image Size’ is closed to new replies.