How to make my bootstrap css will not conflict to other css

Discussion regarding Joomla! 1.5 Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security and Performance FAQs
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
ezekel
Joomla! Apprentice
Joomla! Apprentice
Posts: 43
Joined: Tue Apr 08, 2014 3:20 am

How to make my bootstrap css will not conflict to other css

Post by ezekel » Thu Apr 10, 2014 3:04 am

Hi, can i ask how can i make my bootstrap css will not conflict to other css of my templates?everytime i append the external bootstrap.css in header section the site will mess up.can you help me please how can i get work with this bootstrap

Thank you in advance.

User avatar
dpacadmin
Joomla! Champion
Joomla! Champion
Posts: 6029
Joined: Sat Aug 16, 2008 1:46 pm
Location: the Bat Cave
Contact:

Re: How to make my bootstrap css will not conflict to other

Post by dpacadmin » Sun Aug 17, 2014 11:53 pm

If you amend the bootstrap.css in your template last after the other css the bootstrap.css will override any conflicting css before it. The last css added takes precedent. Try adding your bootstrap.css before your template's css.


Locked

Return to “Performance - Joomla! 1.5”