Menu icon Foundation

My Posts




My Comments

Kirsten Cassidy commented on Nikkitune's post over 5 years

I'm having the same problem and have updated since 25/02. I looked through the issues https://github.com/zurb/foundation/issues?labels=&page=1&state=open and couldn't find anything. Has anyone got it working?

Kirsten Cassidy commented on Kirsten Cassidy's post over 5 years

Thank you Steve. That works very nicely.

Kirsten Cassidy commented on Chris Promotional's post over 5 years

Or in functions.php:

add_action('wp_head', 'add_header_styles');

function add_header_styles() {
if ( is_admin_bar_showing() ) {?>
<style>
.contain-to-grid{margin-top: 32px; } // or .top-bar
@media screen and (max-width: 600px){ // or wherever the layout breaks
.contain-to-grid{margin-top: 46px; } // again or .top-bar
#wpadminbar {position: fixed !important; }
}
</style>
}

Kirsten Cassidy commented on Kirsten Cassidy's post over 5 years

Thank you so much. That was exactly what I was looking for.

Posts Followed


Following

    No Content

Followers

My Posts

My Comments

You commented on Nikkitune's post over 5 years

I'm having the same problem and have updated since 25/02. I looked through the issues https://github.com/zurb/foundation/issues?labels=&page=1&state=open and couldn't find anything. Has anyone got it working?

You commented on Kirsten Cassidy's post over 5 years

Thank you Steve. That works very nicely.

You commented on Chris Promotional's post over 5 years

Or in functions.php:

add_action('wp_head', 'add_header_styles');

function add_header_styles() {
if ( is_admin_bar_showing() ) {?>
<style>
.contain-to-grid{margin-top: 32px; } // or .top-bar
@media screen and (max-width: 600px){ // or wherever the layout breaks
.contain-to-grid{margin-top: 46px; } // again or .top-bar
#wpadminbar {position: fixed !important; }
}
</style>
}

You commented on Kirsten Cassidy's post over 5 years

Thank you so much. That was exactly what I was looking for.

Posts Followed


Following

  • No Content

Followers

  • No Content