Jump to content

Using Twitter Bootstrap


Gazley
 Share

Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...