Search…

X3 Photo Gallery Support Forums

Search…
 
pede
Experienced
Topic Author
Posts: 60
Joined: 08 Apr 2019, 06:03

Frame color for inserted image

02 Jan 2021, 04:40

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 1956 times
- or disable the frame completely? Unfortunately, I can't find the right place...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Frame color for inserted image

02 Jan 2021, 07:26

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.
 
pede
Experienced
Topic Author
Posts: 60
Joined: 08 Apr 2019, 06:03

Re: Frame color for inserted image

02 Jan 2021, 11:03

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.