I got a CSS ready template from the internet to choose a payment method from my site. Below is the link for it.
However, when I import the header and footer, (I am using PHP for this) using Bootstrap, the payment page is unconfigured. When removing the bootstrap link the payment form is normal, but as my header and footer use bootstrap, they are broken.
I tried to create a section with an id and put before all css code, not succeeding I tried to create a div, like this:
Original
...
.price h1 {
font-weight: 300;
color: #18C2C0;
letter-spacing: 2px;
}
...
With section id = 'payment'
...
#pagamento .price h1 {
font-weight: 300;
color: #18C2C0;
letter-spacing: 2px;
}
...
with a div class = 'payment'
...
.pagamento .price h1 {
font-weight: 300;
color: #18C2C0;
letter-spacing: 2px;
}
...
But I did not succeed. I also tried putting the call of my css style before the boostrap link, it also did not work.
Is there any way to remove the bootstrap on a particular piece of html? Or to make my style file overwrite? Or even some other way of using the two without any being broken?