• 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

Peter

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 54 total)
1 2 3 →
  • Author
    Posts
  • February 26, 2014 at 9:47 pm in reply to: How do I change the main content on front #92589
    Peter
    Member

    Have you tried changing the WordPress settings? Dashboard > Settings > Reading and then select the "A static page".

    February 26, 2014 at 3:31 pm in reply to: Centering text with .aligncenter class #92551
    Peter
    Member

    No problems Mark. The style attribute will never be deprecated (unless the universe explodes) so it will always work. Best practice generally states that you should separate HTML structure from CSS presentation (in other words, avoid using the style attribute in HTML tags as much as possible). But obviously there are exceptions like this when style is the appropriate (and standard) solution.

    February 26, 2014 at 2:27 pm in reply to: How to place banner ad in header :: Next to logo? #92537
    Peter
    Member

    Zerway, you should add the code exactly as shown (if unsure where to put it, then put it in the bottom of your stylesheet). What you did there was change the width for all of those elements listed, which is obviously not what you want.

    February 26, 2014 at 2:12 pm in reply to: Quite Urgent – Need help with centering content #92532
    Peter
    Member

    In this case padding and margin won't make a difference. But best practice would be to use padding here. Padding is generally used when you want to add space inside of an element. Margin is generally used when you want to separate elements on the same level (siblings) from each other.

    Do you only want to pad that section? If so then you're already done. If you want to pad including the title then

    #black-studio-tinymce-2 .widget-wrap {
        padding-left: 200px;
        padding-right: 200px;
    
       /* ...or shorthand, padding: 0 200px; */
    }
    February 26, 2014 at 1:23 pm in reply to: Make Header Non Clickable #92514
    Peter
    Member

    So you mean a non-link title/logo? If so, you could just strip out the anchor tag like so:

    //* Modify the header URL
    add_filter('genesis_seo_title', 'sp_seo_title', 10, 3);
    function sp_seo_title($title, $inside, $wrap) {
    	$inside = sprintf( '%s', get_bloginfo('name') );
    	$title = sprintf('<%s id="title">%s</%s>', $wrap, $inside, $wrap);
    	return $title;
    }
    February 26, 2014 at 12:53 pm in reply to: Scribble Welcome Link and About Me #92508
    Peter
    Member

    oops, my bad

    .scribble-teal .welcome-link {
        color: #fff;
    }

    put it at the bottom of the "welcome link" section (wherever that is), or if you're unsure then put it at the bottom of your entire stylesheet.

    February 26, 2014 at 12:38 pm in reply to: Centering text with .aligncenter class #92503
    Peter
    Member

    Mark, <p> elements are block-level by default (i.e., they are 100% width).

    The .aligncenter class you've shown just turns the element into a block (which <p> already is) and then gives it margin: 0 auto; which centers the element... but remember the <p> is 100% width by default, so how can you tell if its been centered? Set that <p> to width: 70%; and then you will see.

    I see no problem simply pressing the "align center" button in the post editor. It outputs <p style=”text-align:center”> and that is the normal way to do it. It's not a hack. But if you want to style that <p> more than just text-align: center, then you should use a class, like such:

    p.aligncenter {
        text-align: center;
    
        /* ...other styles here */
    
    }

    and then <p class="aligncenter">. Though you can pick any class name, it doesn't have to be called p.aligncenter (especially if you don't it to inherit the properties from the other .aligncenter class)

    February 26, 2014 at 11:44 am in reply to: How to place banner ad in header :: Next to logo? #92491
    Peter
    Member

    Zerway,

    #title-area {
    max-width: 300px;
    }

    .header-widget-area {
    max-width: 728px;
    }

    note: remember to remove #header widget-area { width: 31.11111%; }, or add the width to this instead.
    You can use use width or max-width, but max-width will preserve the mobile responsiveness.

    February 26, 2014 at 12:54 am in reply to: Make Header Non Clickable #92428
    Peter
    Member

    See the Studiopress code snippets:

    Header

    That will help you modify or remove the url.

    February 26, 2014 at 12:46 am in reply to: Scribble Welcome Link and About Me #92427
    Peter
    Member
    .welcome-link {
        color: #fff;
    }

    The image at http://www.briangardner.com/wp-content/uploads/profile.png no longer exists.

    February 26, 2014 at 12:31 am in reply to: Centering text with .aligncenter class #92425
    Peter
    Member

    ^ Should point out the <center> tag is deprecated, the second css way is better.

    February 25, 2014 at 6:05 pm in reply to: How to place banner ad in header :: Next to logo? #92369
    Peter
    Member

    Put it back in the header right widget area, that's the right place to put it. Need to see it, but you should be able to adjust the width of that area.

    February 25, 2014 at 5:49 pm in reply to: Chrome Text Colors Different Than Othe Browsers #92368
    Peter
    Member

    If you're sizing your fonts with rem units, then there might be a bug with the current version of Chrome.

    Is this your problem? http://www.studiopress.community/topic/font-sizing-bug-in-chrome/

    February 25, 2014 at 5:41 pm in reply to: Quite Urgent – Need help with centering content #92367
    Peter
    Member

    Have an example site? But I'll make a guess and assume #black-studio-tinymce-2 is the content's container. If so then

    #black-studio-tinymce-2 {
    padding-left: 100px;
    padding-right: 100px;
    }

    should be all that's needed.

    February 25, 2014 at 5:21 pm in reply to: Advanced Custom Fields Repeater #92361
    Peter
    Member

    Where do you want that data to appear in your theme specifically? Since it already works, then it's just a matter of adding it to the markup. Did you try something like this? In the functions.php file:

    function test_repeater_field_name() {
      if( have_rows('repeater_field_name') ):
        while ( have_rows('repeater_field_name') ) : the_row();
            the_sub_field('sub_field_name');
        endwhile;
      else : 
        // no rows found 
      endif;
    }
    add_action( 'genesis_loop', 'test_repeater_field_name' );
    February 25, 2014 at 2:22 pm in reply to: Quite Urgent – Need help with centering content #92342
    Peter
    Member

    Without seeing your HTML, I can't say for sure. But from your description, you should apply the style to the widget's container (and not the widgets inside the widget container)

    However, since your intention is simply to create white-space around your content, I recommend you instead to use padding on the container of your content. For example if your html looked like this:

    <body>
      <div class="wrap">
        <div class="widget-area">
          <div class="widget">
            <p>some content</p>
          </div>
        </div>
      </div>
    </body>

    then you would add padding to the .wrap { padding-left: 200px; padding-right:200; } Again, I'd need to know the exact html to give a definitive answer.

    February 25, 2014 at 1:52 pm in reply to: Decor Theme: Widen Header/Image #92338
    Peter
    Member

    No prob. Using the custom option is perfectly fine (It just adds the exact same code as above, but in the html instead of the stylesheet).

    February 25, 2014 at 1:30 pm in reply to: Advanced Custom Fields Repeater #92337
    Peter
    Member

    Does it work with other themes? Just a problem with Genesis? I'm not familiar with this addon but from the look of that code it looks like it belongs in the html of a template file (e.g, single.php, page.php, etc). I'm stating the obvious but it's probably best to ask the addon creator about this.

    February 25, 2014 at 1:19 pm in reply to: Decor Theme: Widen Header/Image #92335
    Peter
    Member

    I'm guessing you're using a custom header function, I never use that myself. Much better to do that in the css stylesheet rather than hardcoding that style in the html.

    February 25, 2014 at 1:10 pm in reply to: Decor Theme: Widen Header/Image #92333
    Peter
    Member

    What are you using to add that logo? I wouldn't recommend adding the logo that way, however you're doing it. Remove whatever that is, and just copy paste the above code to your stylesheet, it should work.

    But if you want a navigation on the right then I guess that would be pointless. If your theme has a header right widget area, you can put a navigation widget (or whatever its called I don't remember) in there.

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 54 total)
1 2 3 →

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

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