[htmuoljh]
You can build great websites. We can help! Join today and get access to 2849 training videos: Start a free trial!

Get support. At OSTraining, you'll never get stuck. Our team of experts are always here to help

TOPIC: Css Question for lightbox.

Css Question for lightbox. 3 years 2 months ago #64927

  • kev1n_g
  • kev1n_g's Avatar
  • OFFLINE
  • No Active Subscription
  • Posts: 140
Hi,

I want to apply the Same Css code that is on the top image, to the 4 bottom images on the same page

however the first picture I used modules anyware so i just rapped it in a div.
<div style="text-align: center;" class="GuardianProfiles rounded cenguardiansboxs yellowborder">{module Sarah}</div>

The ones below I am just placing the light box in a module position?
How do i apply the same css to the 4 other lightbox images?
Please become a member of
OSTraining to reply to this post.

Css Question for lightbox. 3 years 2 months ago #64935

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Support Member
  • Posts: 4074
  • Thank you received: 144
kev1n_g wrote:
Hi,

I want to apply the Same Css code that is on the top image, to the 4 bottom images on the same page

however the first picture I used modules anyware so i just rapped it in a div.
<div style="text-align: center;" class="GuardianProfiles rounded cenguardiansboxs yellowborder">{module Sarah}</div>

The ones below I am just placing the light box in a module position?
How do i apply the same css to the 4 other lightbox images?

Hi Kevin,

You should be able to apply a class suffix to the modules:
GuardianProfiles rounded cenguardiansboxs yellowborder

Here's a tutorial here: www.ostraining.com/blog/joomla/how-to-us...las-module-suffixes/
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of
OSTraining to reply to this post.

Css Question for lightbox. 3 years 2 months ago #64951

  • kev1n_g
  • kev1n_g's Avatar
  • OFFLINE
  • No Active Subscription
  • Posts: 140
They are all.class's, I created them. They are in the template the template I'm using? Aam I missing somthing? Also on the light box module it doesn't give me that option to add class suffex ?
Please become a member of
OSTraining to reply to this post.

Css Question for lightbox. 3 years 2 months ago #64965

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Support Member
  • Posts: 4074
  • Thank you received: 144
kev1n_g wrote:
They are all.class's, I created them. They are in the template the template I'm using? Aam I missing somthing? Also on the light box module it doesn't give me that option to add class suffex ?

Can you post a screenshot of your module options? I just want to see how it's laid out. 😀

And how did you create the classes in your template? What template?
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of
OSTraining to reply to this post.
You can build great websites. We can help! Join today and get access to 2849 training videos: Start a free trial!

Arvixe

Welcome to training with a smile 😀 Created by friendly people all across North, Central, South America and UK.