1. BengtH
  2. Commercial Templates
  3. Thursday, 08 September 2022
  4.  Subscribe via email
I bought the NINA template a few days ago.

Wondering if it is possible to create both round corners and shadow around images in articles?
Can I create either rounded corners or shadows around images in articles?
Maybe a frame around the picture?

I want to be able to create something similar to the attached image

BILD.jpg
Attachments (1)
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Would you have a URL to an example of the image you wish to affect?

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciaran

The NINA J4 site is under development. It is currently locked for access.

But you can find an image example in the old site, which is to be updated, here: https://videoproducenten.se/dronare

It is mainly images in articles that I want to be able to have rounded corners and or shadows on


Bengt
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Bengt

To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....

.maincontent img {
box-shadow: 2px 2px 6px rgba(0,0,0,.25);
border-radius: 3px;
border: 4px solid rgba(255,255,255,.8);
}


This will affect all images in the component area of your template (edit to taste).

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran

Thanks so much!
It turned out exactly how I wanted it

Bengt
  1. more than a month ago
  2. Commercial Templates
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.