• 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

Metro – 3 Nagging Questions

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 › Metro – 3 Nagging Questions

This topic is: not resolved

Tagged: Metro theme.

  • This topic has 9 replies, 4 voices, and was last updated 9 years, 12 months ago by Metro.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • March 13, 2013 at 12:36 pm #25902
    Metro
    Member

    Hi folks, I'm hoping someone can help me with a few Metro questions that I can't seem to find the answer to. Unfortunately the site is in development so I can't share the link, but any help would be most appreciated.

    1. I want to position a 728x90 ad in the header to the right of a 270x90 logo. However, the header-right widget area is too small and cuts off the ad. I tried adjusting the #header and #widget-area properties in the theme's css but it had zero effect. Would someone be able to provide the exact code/adjustments needed to make the ad sit snugly to the right of the logo?

    2. I'm also trying to position/wrap the post titles and post meta information on the homepage (not single page) to the right of the respective post thumbnails. Currently, they sit above the image, but I'd prefer them to be positioned like they are in the "Featured Bottom Widget" (i.e. to the right of the image and just above the excerpt), which I'm unable to use as our client requires the page navigation which disappears when using the content area widgets.

    3. Finally, how can I adjust the width of the Metro theme? I'd like the main content area to be 650px and the sidebar 300px. Where in the code can I make this adjustment?

    Thanks in advance for help with the above.

    March 13, 2013 at 1:09 pm #25909
    Anita
    Keymaster

    Please post a link to your site so I can take a look at what you have. Thanks.


    Love coffee, chocolate and my Bella!

    March 14, 2013 at 12:45 pm #26266
    rahul247rocks
    Member

    Hi,

    Could you kindly solve these issues too. In Metro I want to make my homepage as blogpage. Is there any way to do that. Also how to display posts in the following order.

    1. Post Title

    2. Right Thumbnail and exerpt wrapped beside it

    3. Name, Date, Add Comment etc.

     

    Thanks,

    Rahul


    Blogging about iPad News, App Reviews at: The New iPad Blog

    March 15, 2013 at 6:21 pm #27229
    Metro
    Member

    Hi anitac,

    Unfortunately the site is behind a closed wall. I realize this makes it difficult to assess, but if it helps it's exactly like the demo http://demo.studiopress.com/metro/ - we just need to make the header-right widget area large enough to hold a 728x90 ad. Hope someone can help.

    March 16, 2013 at 9:15 am #27952
    Pinky
    Member

    hi Metro

    try this....

    change #title-area on line 473 of your style.css to this:

    #title-area {
    width: 30%;
    }
    

    and on line 450 replace this

    .footer-widgets-1, .footer-widgets-2, .footer-widgets-3, .sidebar, .subnav-left, #header .widget-area {
    width: 31.111111111%;
    }
    

    with this:

    .footer-widgets-1, .footer-widgets-2, .footer-widgets-3, .sidebar, .subnav-left {
    width: 31.111111111%;
    }
    
    #header .widget-area {
    width: 70%;
    }
    

    cheers

    Pinky

    March 16, 2013 at 9:26 am #27969
    Pinky
    Member

    Metro

    Your number 3... try this:

    Line 473 of your style.css change

    .content-sidebar #content, .sidebar-content #content, #title-area {
    width: 65.555555555%;
    }
    

    to

    .content-sidebar #content, .sidebar-content #content {
    width: 60%;
    }
    

    and on line 1250 change

    .sidebar {
    display: inline;
    line-height: 1.5;
    }
    
    .sidebar {
    display: inline;
    line-height: 1.5;
    width: 27.5%;
    }
    

    cheers

    Pinky

    March 16, 2013 at 12:46 pm #28230
    rahul247rocks
    Member

    Hi Can you guys please help me with the header. I used header hook to add a div called Logo and add my icon. Now I want another div with the 728-90 ad code just beside it.

    when I add it it is showing below the logo. Please help.

    My Current Code
    <div id="Logo"> <a href="http://www.thenewipadblog.net"><img src="http://www.thenewipadblog.net/wp-content/uploads/2013/03/Tnib-logo-2013.png" alt="TNIB Logo" /></a></div>
    #logo{ float:left; position:relative; width:30% padding-bottom: .1rem; }
    Also,

    How to reduce the padding about the custom Logo Div that is the current header.

    Please Help,

    Rahul


    Blogging about iPad News, App Reviews at: The New iPad Blog

    March 17, 2013 at 12:36 am #28464
    Pinky
    Member

    why dont you use the header widget to put your add code next to the title.

    It's the easiest way to do this - then you just alter the size of the header widget area...

    or am I missing something?


    cheers

    Pinky

    March 17, 2013 at 8:46 am #28548
    rahul247rocks
    Member

    Hi,

    See I want to do it with Hooks I just need the CSS for the adcode so that it floats on the left and not below. I can handle the rest.


    Blogging about iPad News, App Reviews at: The New iPad Blog

    March 22, 2013 at 4:53 pm #30580
    Metro
    Member

    Hi Pinky, I've only just seen your reply.

    I made those changes and it almost worked perfectly, except changing the #title-area width to 30% also reduces the .content area (where all the blog posts are) to 30%, leaving a big space between it and the sidebar.

    Do you  -- or does anyone else -- have any suggestions on how to prevent he content from being affected in this way?

     

    Thanks!

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

© 2023 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