Support Forum

  • Page:
  • 1

Avanti and JB Type - orangebox....

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello,

I'm Stefan and I use the JB Avanti with JB TYPE (Joomla Typography).

I would like to use the jb_bluebox typography but instead of blue I would like to have an orange box.

Apparently the Orange box is not available by default. How can I do to create the orange color or to change an existing color to orange?

Thank you in advance for your help,

Stefan
  • stetvilla's Avatar
  • stetvilla
  • 6 Month Developer
  • 395 posts
  • Karma: 1
The administrator has disabled public write access.
Stefan,

To adjust the typography styling for JB Type, go to this folder/file and edit what you need.

plugins/system/jbtype/styles.php

As always, make a backup before editing any file... just in case!

Ed
  • Ed's Avatar
  • Ed
  • LIfetime Developer - Big Bamboo
  • 1693 posts
  • 45 Thanks
  • Karma: 60
The administrator has disabled public write access.
Hello Ed,

Thank you for your exlanation.

I tried to copy and paste an existing jb_box syntax in styles.php and change it to orange :

"jb_orangebox" => ".jb_orangebox {border: 1px solid #ddd;border-left: 8px solid #f09a14;padding: 8px;background: #fafafa;margin: 10px 0 20px}",

I did this for the 2 options orangesticker and coquette. Unfortunately, in my K2 article it did not recognize my syntax jb_orangebox.

So for the moment, I had to replace and change an existing color (purplebox) with the orange color code.

Could you tell me what I am missing to make my orangebox working?

Thank you,

Stefan
  • stetvilla's Avatar
  • stetvilla
  • 6 Month Developer
  • 395 posts
  • Karma: 1
The administrator has disabled public write access.
Stefan,

In order to 'add' a new style and not just adjust an existing one, you need to declare it within this base file;

plugins/system/jbtype.php

Open up this file and you'll see how to establish an added declaration from the existing formats. Make your adjustments here as well as in the styles.php file I mentioned above.

Ed
  • Ed's Avatar
  • Ed
  • LIfetime Developer - Big Bamboo
  • 1693 posts
  • 45 Thanks
  • Karma: 60
The administrator has disabled public write access.
Thank you very much Ed.

this is exactly the information I was missing.

Perfect.

Have a great week end ands thanks again.

Stefan
  • stetvilla's Avatar
  • stetvilla
  • 6 Month Developer
  • 395 posts
  • Karma: 1
The administrator has disabled public write access.
Stefan,

Thanks for posting back with your success. You too have a great weekend...

Ed
  • Ed's Avatar
  • Ed
  • LIfetime Developer - Big Bamboo
  • 1693 posts
  • 45 Thanks
  • Karma: 60
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers