how do i connect the formatting css code to this code? sorry to be such a noob at all this stuff
I have the css code if you want to see it. But i already have a fully functioning website with headers and footers and all that, it also has a wp blog attached to it.
i assume there is somewhere in this footer code to link to the css, but i dont know how
ok, the forum wouldnt let me paste the code…but i got it from here
When you post code on the forums, you need to format it so it will display correctly.
You can highlight your code, then use the </> button in the editor window, or you can place three backticks ``` (top left key on US/UK keyboards) on a line above your code, and three on a line below your code. I find this approach easier, but unfortunately some European and other keyboards don’t have that character.
I’ve never used Bootstrap, so this is a bit of a guess, but the tutorial you’ve linked to says:
The styles are located in separate CSS files for each design. You can find them in the /assets/css/ folder.
Presumably, then, you would have a folder with that name on your existing site, and simply upload the relevant CSS file to it.
You would then need to link to it in the <head> section of each page where the footer is used, after any existing links to CSS files.
can someone tell me why the “suburbs” section footer is not displaying properly? i.e. its not 3 cols, and I did create a 4th col, but it wasnt displaying right before that either
Have you read the bootstrap manual? You are talking about 4 coluumns yet there are 5 columns in the HTML. I’m not a bootstrap person so I cannot competently advise you about setting up bootstrap. It seems odd to me that the page does not seem to rely on bootstrap earlier. When one uses a framework, the rules of that framework are expected to rule the construction of the page. Bootstrap is not a “plug-in”.
I feel this may end up as using a band-aid for a broken leg but here are a few fixes.
Firstly your page content isn’t matching the width of your wrapper so you need to sort that first.
Add this at the end of your css files or manually adjust correctly in source:
#content.fullwidth{width:auto}
As Ron said above the bootstrap footer you added is meant for bootstrap pages and you have added a whole framework just to add a footer that could have been added with a few lines of html and css. Assuming you have other needs for bootstrap here are some extra fixes to get you on the right track.
Add these rules after all your css files including any linked bootstrap files.
Note that I moved the p tag you had with the heading text and moved it to a correct place and a correct heading tag. You are not allowed in bootstrap to add html inside a row that is not a column class because that is the basis of how bootstrap works. Please read the documentation in full before using bootstrap. It is not a plugin and go system but a framework with specific rules that need to be learned in detail before it can be applied properly. However you would be better off to understand html and css a little more fully first and in consequence would most likely not need the added cost of the bootstrap framework.
Also validate your css regularly to avoid problems . You have a missing bracket here after the rules for the h4 (line 386) which relegates all your other footer styles null and void.
h4 {
margin-bottom: 10px;
font: 'DINNextRegular',Arial,sans-serif;
font-size: 14px;
font-weight: 450;
color: #ff9804;
}/* this bracket is missing */
As I said above you don’t need a framework just to add 4 columns across unless you are adding that framework for other more important reasons.