Closed tbbooher closed 9 years ago
made the page -- just going to display coaches first, float formatting help @BeyondHyper ?
I will build the html and css for you.
thanks! please do . . . using bootstrap . . .
Update coach page posts . Please review the commit and revert.
I said I would do this, so I will clean it up. The current code is not responsive and will not scale. The PHP and code is a bit messy. I will build an html file using the bootstrap grid.
BeyondHyper Hi, can we have scale screen where this Bootstrap - code is not responsive.
Thanks,
It's not responsive because the bootstrap grid was not used. The coach_float class is where your issue is. It will always be two columns. You need to rely on the grid to take care of that for you. Unfortunately, with bootstrap, many times the markup will be a bit bloated, but it's the payoff for using a frame work.
I was expceting something simple like:
<div class="row">
<div class="col-md-6">
<div class="row">
<div class="col-md-5">coach.img.jpg</div>
<div class="col-md-7">Coach name<br/> Email icon and address</div>
</div>
<div class="row">
Coach info
</div>
</div>
</div>
Thanks, You just have to remove class col-sm-6 from coach post which I add as per Bootstrap media for tab N less.
It will work as you require coach.img.jpg Coach name Email icon and address Coach info
Well, no, the coach_float class needs to be removed and replaced with the col-md-6 and the other grid styles for the different break points. There is php method calls that inject markup to clear floats. I'm not going to make changes to the php code. I am just making a suggestion on markup that scales.
Thanks, will keep in mind :+1:
Actually, I'm almost done with the change, including the PHP change.
I'm done and checked in @tbbooher, I updated the layout and the SCSS and style sheet. You should not have any issues. I didn't compile, but it's basic and it'll be easier to merge in. There is an issue with the custom fields and they emails are not being pulled in. I didn't work on that, just the layout. I just wanted to bring it to your attention.
I will bring in the styles . . . thanks for your update.
On Wed, Dec 3, 2014 at 1:34 AM, Derick Montague notifications@github.com wrote:
I'm done and checked in @tbbooher https://github.com/tbbooher, I updated the layout and the SCSS and style sheet. You should not have any issues. I didn't compile, but it's basic and it'll be easier to merge in. There is an issue with the custom fields and they emails are not being pulled in. I didn't work on that, just the layout. I just wanted to bring it to your attention.
— Reply to this email directly or view it on GitHub https://github.com/tbbooher/new_cfa/issues/3#issuecomment-65362016.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Tim Booher www.theboohers.org | tim@theboohers.org 703.649.4264 (home) (703) 822-7863 (mobile)
working very well.
Tim needs to code up the wordpress backend for the coaches page.