This is driving me crazy!

Permalink
why is it so difficult to control the alignment of our stuff in a concrete5 website. I am trying to center the nav bar at the top of the page and the adsense ad at the bottom of the page athttp://www.yunotakemymoney.com. All the other stuff, I did the wonderful workaround that is putting it in a content block and centering that way. That's not working with this. I tried putting css in the header to center the items via their class and that is not working either. can Anyone who has a debugger help me out here. I have been tearing my hair out for hours trying to get this right.

 
mesuva replied on at Permalink Best Answer Reply
mesuva
I don't think this is a concrete5 problem, it's just a css issue.

For the nav bar, try adding to your .nav_bg class:
float: none;
width: 540px;
mnakalay replied on at Permalink Reply
mnakalay
For the menu bar, in your docs.css file replace (from line 954):

.nav_bg {
...
width: auto;
float: left;
...
}

with
.nav_bg {
...
width: 539px;
float: none;
...
}


and delete (from line 921)
.navbar .nav {
float: right;
}


For the adsense block, in the same css file, add this:
.fpad iframe {
position: relative!important;
}


But frankly, the whole code is really messy with a lot of redundant or useless things and many problems. Your website could probably gain speed by streamlining the code a bit.

Good luck
yunotakemymoney replied on at Permalink Reply
this was a really duh moment for me when you guys answered. Thanks for the help!
mnakalay replied on at Permalink Reply
mnakalay
you're welcome. Could you please mark the best answer for future generations and for karma purposes.

Good luck with everything