Modern Portfolio Header

Community Forums Forums Design Tips and Tricks Modern Portfolio Header

This topic is: not resolved

This topic contains 6 replies, has 2 voices, and was last updated by  hanuman 1 year, 3 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #59163

    hanuman
    Participant
    Post count: 7

    Hi All,

    I’m getting very frustrated with a simple problem in Modern Portfolio.

    I have a custom menu in the header which is pushing my title onto a new line.

    Also I want to increase the size of the title.

    Yes I’ve tried to solve it with Firebug.

    Any help much appreciated.

    Cheers.

    http://dm5.net/ebk1
    #59164

    braddalton
    Participant
    Post count: 10593

    You will need to increase the width of the title area and decrease the width of the header right widget area.

    The CSS for this is on your child themes style.css file.
    [css]
    #header .widget-area {
    width: 680px;
    }

    #title-area {
    width: 400px;
    }
    [/css]

    Total = 1080px


    #59165

    braddalton
    Participant
    Post count: 10593

    Better to paste this CSS code at the end of the file and not modify the default code.

    This way your mods are easier to find and manage.


    #59167

    hanuman
    Participant
    Post count: 7

    Hi Brad,

    Thanks, got it.

    Cheers.

    #59178

    hanuman
    Participant
    Post count: 7

    Hi Brad,

    Is this what you meant?

    #title-area {
    width: 400px;
    }
    #content,
    #header .widget-area,
    #services .alignleft {
    width: 680px;
    }

    That fixed the header area, but changed the width of the sidebar as well, perhaps because the widget-area you referred to is in the #content area.

    I tried adding the width: 680px; on various lines but no success .

    This is the original code –

    #title-area {
    width: 29.629629629%; /* 320px / 1080px */
    }

    #content,
    #header .widget-area,
    #services .alignleft {
    width: 64.814814814%; /* 700px / 1080px */
    }

    #59179

    braddalton
    Participant
    Post count: 10593

    No need to change any code. http://www.studiopress.com/forums/topic/modern-portfolio-header/#post-59165

    Simply paste the code i supplied at the end of the file. I test all code and it works.


    #59180

    hanuman
    Participant
    Post count: 7

    Wow.

    I didn’t know you could do that.

    Yes, it works as you say.

    Thanks a bunch Brad,

    Cheers!

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.