Bootstrap css

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Dingus

Thread Starter
Joined
Apr 21, 2002
Messages
1,161
I’m putting a carousel on my web site.
Getting it going is quite simple once I attach the css.
Trouble is the bootstrap.css ruins my whole page.
Can someone tell me how to restrict this css to the carousel only.

My id=Mycarousel to external css
When I attach the css it loads into the header and affects the whole page.
 
Last edited:
Joined
Sep 5, 2007
Messages
2,310
First Name
Colin
It will do, that is how CSS works. You could call the Bootstrap CSS before your own CSS but that would likely screw up the carousel.

One way around this would be to look at your CSS definitions and change the names of your elements so they don't conflict with the Bootstrap CSS.

This is why I don't like Bootstrap and don't use it.

Another way is to use a different carousel that doesn't use Booststrap.
 

Dingus

Thread Starter
Joined
Apr 21, 2002
Messages
1,161
Colin, I'd use a different one if I could but every other one so far has caused problems. Unfortunately I don't have the skills to fix any of them.
I didn't think of the simple solution of changing MY element name.
If you know of a good carousel I'd be more than happy to give it a go.

I can't believe the size of the bootstrap css. It has 6785 lines in it.
 
Joined
Sep 5, 2007
Messages
2,310
First Name
Colin
I can't believe the size of the bootstrap css. It has 6785 lines in it.
That is one of the reasons that I don't use it.

Sorry I don't know of an alternative, 90% of my web work is now done using Wordpress and there are loads of carousel plugins for Wordpress.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top