Welcome, Guest
Username: Password: Remember me

TOPIC: Markup (new, featured, tag, etc) as class

Markup (new, featured, tag, etc) as class 2 years 8 months ago #2209

  • Van
  • Van 's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 19
  • Karma: 0
Hi,
Is it possible to add markup in class so we can style it.
Example: div class=new, div class=featured, div class=tag?
Please provide a code for this, thanks.
The administrator has disabled public write access.

Markup (new, featured, tag, etc) as class 2 years 8 months ago #2211

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2756
  • Thank you received: 291
  • Karma: 40
Sure you can style it by adding a class in jomClassifieds.css from the path,

Root/components/com_jomclassifieds/css/

Kindly check the below classes for reference.

div#jomclassifieds span.tag
div#jomclassifieds .popular
div#jomclassifieds .new
div#jomclassifieds .featured

Thanks.
The administrator has disabled public write access.

Markup (new, featured, tag, etc) as class 2 years 8 months ago #2216

  • Van
  • Van 's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 19
  • Karma: 0
Hi,

Thanks, but this is not the correct way.
I would like it to fill in automatic like ?php echo $markup;
If I do it your your way, then all div have same style. :)
The administrator has disabled public write access.

Markup (new, featured, tag, etc) as class 2 years 8 months ago #2224

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2756
  • Thank you received: 291
  • Karma: 40
Sorry, this feature is not available in Jom Classifieds.

Thanks.
The administrator has disabled public write access.
Time to create page: 0.228 seconds