• 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

code help needed with header image

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 › code help needed with header image

This topic is: not resolved
  • This topic has 2 replies, 2 voices, and was last updated 7 years, 3 months ago by barryhill.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 7, 2018 at 3:25 pm #216214
    barryhill
    Member

    Hi

    I am building a site using atmosphere and running into some coding problem.

    As you will see, I am using a small header image sitting top left which is currently aligned right and colliding with menu text.

    My aim is also to have the site full width.

    I have tried to use a variety of code adjustments in style.css to get the image to align left. I made the following adjustments and managed to get the image to align left, but unfortunately my changes made the 3rd level submenu items not align correctly under Osteopaths.

    I have removed the code and the sub menus align properly.

    Here is the code I did use (which aligned the image but cause menu misalignment).

    Can anyone help me get the code right for a full width site with the top left image aligned far left?

    thanks

    code changed in style.css >>>

    line 700
    max width changed to 100%

    line 1174
    removed max width 1200px

    line 1210
    changed padding to 0 0px;

    line 1279
    changed margin to -44px 0 0 5px

    Any ideas?

    thanks

    Barry

    http://fishpondspractice.co.uk/wp
    February 7, 2018 at 8:27 pm #216227
    Victor Font
    Moderator

    To change the header, you need to make 2 changes. First the .site-container has a max-width of 1280px. You need to remove the max-width from .site-header at line 696.

    Next, you have to remove the left and right padding from .header-image .site-header at line 1209. Just change the padding to padding: 0;

    You'll still need to adjust the phone # position.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 8, 2018 at 8:43 am #216343
    barryhill
    Member

    That's very helpful, thankyou.

    works perfectly.

    Barry

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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