• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Can't control element.style attribute in header on mobile

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Can't control element.style attribute in header on mobile

This topic is: not resolved

Tagged: cafe pro, css, element.style, height

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 1 month ago by Susan.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • January 29, 2015 at 2:20 pm #138982
    formacct23
    Participant

    Hi,
    Using Cafe Pro theme. When viewing my site (http://tongsofficial.com/health) on my phone (or using CTRL+SHIFT+M on desktop Firefox with Firebug), I see the following:

    <header class="site-header front-page-header" itemtype="http://schema.org/WPHeader" itemscope="itemscope" role="banner" style="height: 435px;">

    I want the height attribute to be removed, or to override it with "resize: both;".

    Firebug indicates this as "element.style", which I understand is something from code, not from CSS stylesheets. However, I can neither find the code to remove the height style, nor code any CSS that can override "height: 435px" with "resize:both".

    I've tried added this to my CSS:

    header.site-header.front-page-header { resize: both; }

    .site-header.front-page-header {resize: both; }

    and nothing works. How do I fix this?

    Thanks much.

    http://www.tongsofficial.com/health
    May 6, 2015 at 3:15 pm #150473
    Susan
    Moderator

    As you posted this a while back, I hope you were able to resolve your issue. If it is resolved, please mark it "resolved", and we will close it.

    If you are still having issues, report back here, and I will try to escalate.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble