Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Css Question for lightbox.

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

  • kev1n_g
  • kev1n_g's Avatar
  • OFFLINE
  • OSTar
  • Posts: 140
  • Karma: 0
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 months 2 weeks ago #64935

  • tessa
  • tessa's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 3953
  • Thank you received: 134
  • Karma: 9
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 months 2 weeks ago #64951

  • kev1n_g
  • kev1n_g's Avatar
  • OFFLINE
  • OSTar
  • Posts: 140
  • Karma: 0
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 months 2 weeks ago #64965

  • tessa
  • tessa's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 3953
  • Thank you received: 134
  • Karma: 9
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.

Sign Up for OSTraining

Powered by Kunena Forum

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.