Hello,
.gallery-item a img (width: 100%;}
Just make adjustments needed
Hi, thanks for your help. It doesn’t seem to work for me.
I also tried replacing the bracket ( with { to make the code look like:
.gallery-item and img
{
width: 100%;
}
And add important.
Here is a sample where I add the code https://ctrlv.cz/CTgy
I use shorcode
[wp_links_page display=”grid” cols=”3″ orderby=”date” order=”ASC” img_size=”large” img_style=”border: 3px solid black; box-shadow: 0 5px 10px 0 rgba(0,0,0,0.2),0 5px 15px 0 rgba(0,0,0,0.19);” title_style=”font-weight: bold; text-align: center” desc=”none”]
Thanks you
Hello,
You can add css with the shortcode var “imag_style” for image size in PX.etc EX:
[wp_links_page display=”grid” cols=”3″ orderby=”date” order=”ASC” img_size=”large” img_style=”border: 3px solid black; box-shadow: 0 5px 10px 0 rgba(0,0,0,0.2),0 5px 15px 0 rgba(0,0,0,0.19); width: 1280px; height: 960px;” title_style=”font-weight: bold; text-align: center” desc=”none”]
Default screenshot sizes are 1280×960 or 500×348
I hope this helps
-
This reply was modified 8 months, 1 week ago by
Rico Macchi.
-
This reply was modified 8 months, 1 week ago by
Rico Macchi.
Good day,
Thank you for your help. If I understand you correctly, I replaced the shortcode. Replaced my original one with yours but it stopped working. It doesn’t show anything now. Thank you for your help.
try adding this to your shortcode and replace the img_style var and adjust height px
img_style=”box-shadow: 0 5px 10px 0 rgba(0,0,0,0.2),0 5px 15px 0 rgba(0,0,0,0.19); width: 100%; height: 200px; “
I added the img style to the shortcode and adjusted the height to what I need, but without change. Can I email you or will I bother you? If it’s OK, write an email. Thank you
Thank you for your help.