Page 1 of 1

Frame color for inserted image

Posted: 02 Jan 2021, 04:40
by pede
How to change the frame color and width of the image (toscana.jpg) at this point:
https://demo.photo.gallery/examples/features/post/
Frame.jpg
Frame.jpg (52.83 KiB) Viewed 2112 times
- or disable the frame completely? Unfortunately, I can't find the right place...

Re: Frame color for inserted image

Posted: 02 Jan 2021, 07:26
by mjau-mjau
pede wrote: How to change the frame color and width of the image (toscana.jpg) at this point:
- or disable the frame completely? Unfortunately, I can't find the right place...
That's just the style of the page context preview image. You can remove the frame by adding the following to Settings > Custom > Custom CSS:
Code
.preview-image figure {
  border: none !important;
  box-shadow: none !important;
}
Not quite sure what "width" you want to set for the image. The width is inherited from the width of the area where the image is located, which is by default set to "narrow" to make an optimally readable text width.

Re: Frame color for inserted image

Posted: 02 Jan 2021, 11:03
by pede
Not quite sure what "width" you want to set for the image.
I meant the thickness of the line around the image, but thanks for the code snippet, I can implement the rest myself.