• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Editing my CSS to change the header text and image.

Editing my CSS to change the header text and image.

  • Unknown's avatar
    subvertingmobility · Member · Apr 18, 2013 at 9:10 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I am trying to change my CSS so that I can insert an image in the top header text area above my Menu. I don’t want to use the header text style that is available with my theme.

    When I insert the only CSS I know in order to place a masthead image in it brings all my posts below up directly underneath the image which I inserted. This is the CSS text I’m using…

    #masthead {
    position: relative;
    top: 15px;
    background: url(‘http://arquetopiafoundationfordevelopment.files.wordpress.com/2013/04/arquetopia_header_logo.jpg’);
    width: 960px;
    height: 40px;
    margin: 0px;
    margin-top: 0px;
    }

    How can I control the position of my pages below the masthead? I also don’t want the logo image to repeat down the background of the page. I just want it to sit in the area exactly above the menu which is approx 960px x 40 or 50px.

    The blog I need help with is arquetopiafoundationfordevelopment.wordpress.com.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    thesacredpath · Member · Apr 18, 2013 at 9:26 pm
    • Copy link Copy link

    Give this a try and see what you think.

    .site-header h1 {
    background: url("http://arquetopiafoundationfordevelopment.files.wordpress.com/2013/04/arquetopia_header_logo.jpg") no-repeat scroll 0 0 transparent;
    height: 90px;
    width: 960px;
    }
    
    .site-header h1 a {
    display: block;
    line-height: 90px;
    text-indent: -9999px;
    }
  • Unknown's avatar
    subvertingmobility · Member · Apr 18, 2013 at 9:45 pm
    • Copy link Copy link

    Thank you… Perfect… I knew it would be simple, but I’m very new to CSS.
    Thanks again!

  • Unknown's avatar
    thesacredpath · Member · Apr 18, 2013 at 9:51 pm
    • Copy link Copy link

    You are welcome.

  • The topic ‘Editing my CSS to change the header text and image.’ is closed to new replies.

Tags

  • CSS
  • edit
  • image
  • logo
  • masthead
  • Twenty Twelve

About this topic

  • In: CSS Customization
  • 2 participants
  • 3 replies
  • Last activity 13 years
  • Latest reply from subvertingmobility

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions