- Posts: 7
- Thank you received: 0
Order of the custom.css file
- Maarten
- Topic Author
- Offline
- New Member
-
Less
More
4 years 7 months ago - 4 years 7 months ago #136249
by Maarten
Load Order of the custom.css file was created by Maarten
Hi,
I would like to change the load order of the custom.css file of Osservices.
Now the the custom.css file is loaded before the bootstrap files, making it very difficult to override some of the bootstrap settings.
Question: Would it not be better to load the custom.css file by default after all the other .css files ?
Grt,
Maarten
I would like to change the load order of the custom.css file of Osservices.
Now the the custom.css file is loaded before the bootstrap files, making it very difficult to override some of the bootstrap settings.
Question: Would it not be better to load the custom.css file by default after all the other .css files ?
Grt,
Maarten
Last edit: 4 years 7 months ago by Maarten. Reason: typo in text
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12961
- Thank you received: 1679
4 years 7 months ago #136250
by Mr. Dam
Replied by Mr. Dam on topic Order of the custom.css file
Hi Maarten,
I am not sure with your idea, could you please explain more details your topic
Thanks
Dam
I am not sure with your idea, could you please explain more details your topic
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Maarten
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
4 years 7 months ago #136251
by Maarten
Replied by Maarten on topic Order of the custom.css file
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/style.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/custom.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bs2.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bootstrap/css/bootstrap.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bootstrap/css/bootstrap-responsive.css" rel="stylesheet" />
<link href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css" rel="stylesheet" />
<link href="/maisonesthetique/templates/protostar/css/template.css?f48559255485f5f4c5271b54f5fe7b1c" rel="stylesheet" />
<link href=" fonts.googleapis.com/css?family=Open+Sans " rel="stylesheet" />
<link href="/maisonesthetique/plugins/system/gdpr/assets/css/cookieconsent.min.css" rel="stylesheet" />
<style>
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/custom.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bs2.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bootstrap/css/bootstrap.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bootstrap/css/bootstrap-responsive.css" rel="stylesheet" />
<link href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css" rel="stylesheet" />
<link href="/maisonesthetique/templates/protostar/css/template.css?f48559255485f5f4c5271b54f5fe7b1c" rel="stylesheet" />
<link href=" fonts.googleapis.com/css?family=Open+Sans " rel="stylesheet" />
<link href="/maisonesthetique/plugins/system/gdpr/assets/css/cookieconsent.min.css" rel="stylesheet" />
<style>
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12961
- Thank you received: 1679
4 years 7 months ago #136252
by Mr. Dam
Replied by Mr. Dam on topic Order of the custom.css file
Hi,
OS Services Booking supports Custom CSS, and file custom.css is loaded in component when you add Custom CSS through OS Services Booking Configuration
Thanks
Dam
OS Services Booking supports Custom CSS, and file custom.css is loaded in component when you add Custom CSS through OS Services Booking Configuration
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Maarten
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
4 years 7 months ago #136253
by Maarten
Replied by Maarten on topic Order of the custom.css file
Hi Dam,
The custom.css file is loaded by the OSservice component. But the custom.css file is loaded before the bootstrap files. So the settings of the bootstrap files will overrule the custom settings in the custom.css file.
Is there a way to load the custom.css file from Osservice component after the bootstrap files loaded by OSservice component.
Now the order is:
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/style.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/custom.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bs2.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bootstrap/css/bootstrap.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bootstrap/css/bootstrap-responsive.css rel="stylesheet" />
I would like to have the order:
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/style.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bs2.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bootstrap/css/bootstrap.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bootstrap/css/bootstrap-responsive.cssrel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/custom.css" rel="stylesheet" />
Who can I do this ?
Question: Would it not be better to load the custom.css file by default after all the other .css files ?
Grt,
Maarten
The custom.css file is loaded by the OSservice component. But the custom.css file is loaded before the bootstrap files. So the settings of the bootstrap files will overrule the custom settings in the custom.css file.
Is there a way to load the custom.css file from Osservice component after the bootstrap files loaded by OSservice component.
Now the order is:
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/style.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/custom.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bs2.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bootstrap/css/bootstrap.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bootstrap/css/bootstrap-responsive.css rel="stylesheet" />
I would like to have the order:
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/style.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bs2.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bootstrap/css/bootstrap.css" rel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/bootstrap/css/bootstrap-responsive.cssrel="stylesheet" />
<link href="http://localhost/maisonesthetique/media/com_osservicesbooking/assets/css/custom.css" rel="stylesheet" />
Who can I do this ?
Question: Would it not be better to load the custom.css file by default after all the other .css files ?
Grt,
Maarten
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.