• 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 / Amending Dicot Theme Header

Amending Dicot Theme Header

  • Unknown's avatar
    karenthorburn · Member · Apr 5, 2016 at 10:47 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hi there.

    I would like a CSS code to amend the header area of this blog: http://karenthorburn.com/

    I would like the logo, tagline and menu to take up less space so that, ideally, the whole photo slideshow area on the home page can be seen without scrolling.

    I already have a CSS code to adjust the size of the logo.

    Specifically, I need CSS codes to:
    – reduce the amount of space above the logo
    – reduce the amount of space between the logo and the tagline
    – reduce the size of the tagline text
    – reduce the amount of space between the tagline and the menu

    Many thanks in advance,

    Karen

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

  • Unknown's avatar
    thesacredpath · Member · Apr 6, 2016 at 7:33 pm
    • Copy link Copy link

    Hi there,

    I would like the logo, tagline and menu to take up less space so that, ideally, the whole photo slideshow area on the home page can be seen without scrolling.

    This is a bit tricky, because what is going to show of the slideshow is going to depend in part on the height of the browser window, or screen on a tablet/phone, but we can tighten things up.

    The first suggestion I would have would be to edit your original site logo image and crop it more tightly around the text/logo. That will give us more to work with.
    For now, you can give the following a shot which works with things the way they are. Add this to the very bottom of your custom CSS.

    .has-site-logo.has-site-branding .site-branding {
        margin-top: 0;
    }
    .site-header {
        padding-top: 0;
        padding-bottom: 20px;
    }
    .site-content {
        padding-top: 20px;
    }
    .site-description {
        margin-top: 0;
    }
  • Unknown's avatar
    thesacredpath · Member · Apr 6, 2016 at 7:36 pm
    • Copy link Copy link

    Oops, forgot the tagline size. Replace the last rule I have above with this and you can adjust the 3.2rem value as desired (it was 4.5rem).

    .site-description {
        margin-top: 0;
        font-size: 3.2rem;
    }
  • Unknown's avatar
    karenthorburn · Member · Apr 8, 2016 at 11:20 am
    • Copy link Copy link

    Brilliant. Thanks very much!

  • Unknown's avatar
    thesacredpath · Member · Apr 8, 2016 at 8:23 pm
    • Copy link Copy link

    You are welcome.

  • The topic ‘Amending Dicot Theme Header’ is closed to new replies.

Tags

  • dicot theme
  • Header
  • logo
  • menu
  • size
  • space
  • tagline
  • text

About this topic

  • In: CSS Customization
  • 2 participants
  • 4 replies
  • Last activity 10 years
  • Latest reply from karenthorburn

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