You are here:  » Bootstrap error


Bootstrap error

Submitted by Leosch on Mon, 2022-03-21 06:14 in

Hi,

I am busy with my header and footer.

When I put this into the header in my head tag, it destroys the template.

{code saved}

Submitted by support on Mon, 2022-03-21 09:24

Hi,

The script already includes jQuery so if that's still in place including it again would cause problems - that might be all it is (included by line 28 in the distribution html/header.php)

      <script src='<?php print $config_baseHREF?>html/vendor/jquery.min.js'></script>

Cheers,
David.
--
PriceTapestry.com

Submitted by Leosch on Mon, 2022-03-21 10:13

Hi David,

I removed it but the link takes care that the search is disappeared.

Submitted by support on Mon, 2022-03-21 14:40

Hi,

As the distribution template is based on the Foundation framework including Bootstrap CSS etc. is likely to cause problems as they are different approaches to achieving similar functionality.

Normally, style definitions applied last take priority so you might have some success by making sure that your custom includes come first within the header with the Foundation links the last CSS links in order...

Cheers,
David.
--
PriceTapestry.com

Submitted by Leosch on Mon, 2022-03-21 15:45

Hi David,

it works but the searchform is completely gone.

Everything within searchform.php is gone.

Submitted by Leosch on Tue, 2022-03-22 07:12

Hi David,

I assume this causes the problem:

When I change the class, the searchbox appears again.

Can I change this without any problem?

Submitted by support on Tue, 2022-03-22 09:02

Hi,

Sure - if everything is functional that won't cause any problems that would not be immediately apparent.

Cheers,
David.
--
PriceTapestry.com