Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

CB 1.9 CSS load order

  • dsohal
  • dsohal
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
11 years 7 months ago #223130 by dsohal
CB 1.9 CSS load order was created by dsohal
Hi I'm trying the CB Pro 1.9 with Joomla 3 Prostar template and have noticed that CB's CSS loads BEFORE the template css. This seems strange compared to how Joomla css hierarchy works. Is there a fix for this or was this deliberate?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 7 months ago - 11 years 7 months ago #223138 by krileon
Replied by krileon on topic CB 1.9 CSS load order
It depends on when/how the Joomla template loads in the header. Protostar adds its template CSS to the document so it'll either be appended to the end or it'll be first. Only way to change this is to edit the Protostar index.php template and change how the CSS is loaded (you'll see it added to document on line 41). Normally a template just adds its CSS using HTML before or after the Joomla header include.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 11 years 7 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • dsohal
  • dsohal
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
11 years 7 months ago #223139 by dsohal
Replied by dsohal on topic CB 1.9 CSS load order
ha yes your right.Ill just add it straight to document rather then use the declaration.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum