Start Online Training

Get access to all our video classes and support. That's 1818 training sessions in Joomla, Drupal, WordPress, Coding and SEO.
Prices start only at only 25 USD per month

Testimonials

Testimonials OSTrainingI'm speechless. Don't know how far i could have gone without the OSTraining team"

~ Acha

 

Start a FREE 7 day trial! Get training videos and books, plus expert support:  

TOPIC: Css Question for lightbox.

Css Question for lightbox. 1 year 2 months ago #64927

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. 1 year 2 months ago #64935

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Posts: 4073
  • 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. 1 year 2 months ago #64951

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. 1 year 2 months ago #64965

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Posts: 4073
  • 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.

 

Start a FREE 7 day trial! Get training videos and books, plus expert support: