Jump to content

Recommended Posts

Posted

Hi there,

I want to use Bootstrap with my templates. This may seem a very obvious question but am I correct to assume that you simply add the various Bootstrap folders in to the PW templates folder?

Normally, the pathing in Bootstrap is relative to the location of the page(s) in the site structure. However, I am unsure how PW utilises the template folder when pages are actually being served. I hope you understand what I am trying to say here :)

Any thoughts around this one would be appreciated!

Thanks

--Gary

Posted

You are correct, just make sure you supply the correct path in your template code. something like:

<link rel="stylesheet" type="text/css" href="<?php echo $config->urls->templates?>bootstrap/styles.css" />
  • Like 1
Posted

Hey there, just a quick heads-up, I'm now displaying my Bootstrap enabled page(s) thanks to your advice! :)

Regards

--Gary

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...