• 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

PyramidWeb

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 13 posts - 21 through 33 (of 33 total)
← 1 2
  • Author
    Posts
  • July 10, 2017 at 5:52 pm in reply to: Can't expand image #208936
    PyramidWeb
    Member

    Hi Kevin,
    Your image is in a container and the width of this container is set to 660px. This container limits the width of all content on the page. That's why your image can never extend the width of 660px, even if it is wider.

    To change the width for all pages, not just the one that contains the infographic image, find the following rule in your style.css file and change 660px to, say, 1000px.

    .content {
        margin: 0 auto;
        width: 660px;
    }
    

    Hope this helps.

    July 10, 2017 at 5:39 pm in reply to: Help with responsive #208935
    PyramidWeb
    Member

    For me, the down arrows are blue as well (rather than white; same color as hamburger menu icon). I guess you fixed it in the meantime.

    July 10, 2017 at 5:26 pm in reply to: Trying to make featured posts horizontal with Education Pro #208933
    PyramidWeb
    Member

    Hi Karen,
    To the rescue: In your css, change

    .home-middle .widget {
        float: left;
        padding: 0 20px;
        text-align: left;
        width: 25%;
    }
    

    to

    .home-middle .featuredpost .entry {
        float: left;
        padding: 0 20px;
        text-align: left;
        width: 25%;
    }
    

    This should fix it. You might want to revise your css a bit (from my understanding, some rules in your current css merely reflect your attempt to fix the layout issue).

    July 6, 2017 at 3:04 pm in reply to: Hello Pro homepage background image help? #208793
    PyramidWeb
    Member

    The problem: The p in "home-image" has a margin-bottom of 24px. That's why the image is not down at the bottom where it should be.

    Try adding

    .home-image p {
        margin-bottom: 0;
    }
    

    after

    .home-image {
        display: table;
        float: left;
        line-height: 0;
        margin: 0;
        overflow: hidden;
        padding: 0;
        position: relative;
        width: 45%;
    }
    

    If your current gray background image is not just a placeholder and you want to keep the dark gray background, I would recommend to use "background-color: #ff0000;" instead (replace "#ff0000" with the hex-code of your color).

    July 6, 2017 at 8:52 am in reply to: Hello Pro homepage background image help? #208779
    PyramidWeb
    Member

    One more thing:
    If you choose Method 2, make sure you select the default style (that is, "gray") in the customizer and comment out the line that sets the background image for this default gray style

    /* background: #8192b3 url('images/bg-gray-header-diamonds-right.jpg') center right no-repeat; */
    

    Otherwise, this line will overwrite the background you set. Probably, Method 1 is the easier choice.

    July 5, 2017 at 6:01 pm in reply to: Hello Pro homepage background image help? #208735
    PyramidWeb
    Member

    Hi there,

    Method 1:
    In your "style.css", search for:

    .top {
    	background: #8192b3 url('images/bg-gray-header-diamonds-right.jpg') center right no-repeat;
    	background-size: cover;
    	width: 100%;
    	padding: 30px 0 0 0;
    	margin: 0;
    	color: #fff;
    }
    

    You can change the background for the "GRAY (Default Styles)" if you want to keep the possibility to change styles later on, for example:

    .top {
    	background-color: #ff0000;
    	background-size: cover;
    	width: 100%;
    	padding: 30px 0 0 0;
    	margin: 0;
    	color: #fff;
    }
    

    Method 2:
    Otherwise, here is another possibility: In the same "style.css", search for

    .top {
    	width: 100%;
    	padding: 30px 0 0 0;
    	margin: 0;
    	position:relative;
    }
    

    and change it (for example) to

    .top {
    	background-color: #ff0000;
    	width: 100%;
    	padding: 30px 0 0 0;
    	margin: 0;
    	position:relative;
    }
    

    Hope this helps.

    July 3, 2017 at 6:12 pm in reply to: background color (full width) for widgets #208639
    PyramidWeb
    Member

    Hi stfn,
    I understand what you want to achieve. I don't see the code I suggested implemented on your demo-site, hence I cannot check what's wrong.
    So, can you please edit your front-page.php and style-front.css and notify me. And make sure that you registered the sidebars correctly. It is very hard to fix the problem remotely without being able to see and / or edit your current php-files and css.

    Since you're on a demo-site, I can offer you to send me a private reply with temporary access data to your site so I can edit the files directly.

    June 29, 2017 at 10:07 am in reply to: background color (full width) for widgets #208478
    PyramidWeb
    Member

    Here's the php-code again with proper formatting:

    June 29, 2017 at 9:46 am in reply to: background color (full width) for widgets #208476
    PyramidWeb
    Member

    I'm sorry - I can't get the php-code above to the right formatting.

    If I'm getting you right, you want to have a separate background color for the two widget areas at the bottom, right?

    You need to put the two widget areas in the same container, to which you can then allocate your desired background color.

    Try this: Change the code in your "front-page.php" as described in the code I posted above (sorry again for the weird formatting; make sure you pick the right one without certain characters replaced).

    Then add to your "style-front.css" (in folder "css"):

    .home-bottom {
        background: #ff1a1a;
    }
    

    Let me know if this works - I cannot test the code on your site. The wrap might need to go somewhere else.

    June 29, 2017 at 9:35 am in reply to: background color (full width) for widgets #208473
    PyramidWeb
    Member
    <?php
    function bakker_home_bottom() {
       if ( is_active_sidebar( 'home-bottom-1' ) || is_active_sidebar( 'home-bottom-2' ) ) {
          echo '<div class="home-bottom"><div class="wrap">';
             if ( is_active_sidebar( 'home-bottom-1' ) ) {
                genesis_widget_area( 'home-bottom-1', array(
                   'before' => '<div class="home-bottom-1">',
                   'after'  => '</div>',
                   ) );
             }
             if ( is_active_sidebar( 'home-bottom-2' ) ) {
                genesis_widget_area( 'home-bottom-2', array(
                   'before' => '<div class="home-bottom-2">',
                   'after'  => '</div>',
                ) );
             }
          echo '</div></div>';
    
       }
    }
    ?>
    June 29, 2017 at 9:26 am in reply to: background color (full width) for widgets #208469
    PyramidWeb
    Member

    [PHP]<?php
    function bakker_home_bottom() {
    if ( is_active_sidebar( 'home-bottom-1' ) || is_active_sidebar( 'home-bottom-2' ) ) {
    echo '<div class="home-bottom"><div class="wrap">';
    if ( is_active_sidebar( 'home-bottom-1' ) ) {
    genesis_widget_area( 'home-bottom-1', array(
    'before' => '<div class="home-bottom-1">',
    'after' => '</div>',
    ) );
    }
    if ( is_active_sidebar( 'home-bottom-2' ) ) {
    genesis_widget_area( 'home-bottom-2', array(
    'before' => '<div class="home-bottom-2">',
    'after' => '</div>',
    ) );
    }
    echo '</div></div>';
    }
    }
    ?>[/PHP]

    June 29, 2017 at 9:17 am in reply to: background color (full width) for widgets #208465
    PyramidWeb
    Member

    If I'm getting you right, you want to add a different background color to the two widget areas at the bottom of the page, right?

    You need to put these two widget areas in the same container, which in turn can then get your desired background color.

    Try this:
    Change the code in your front-page.php as follows:

    function bakker_home_bottom() {
       if ( is_active_sidebar( 'home-bottom-1' ) || is_active_sidebar( 'home-bottom-2' ) ) {
          echo '&lt;div class="home-bottom&quot;&amp;gt;&amp;lt;div class=&quot;wrap&quot;&amp;gt;';
             if ( is_active_sidebar( 'home-bottom-1' ) ) {
                genesis_widget_area( 'home-bottom-1', array(
                   'before' =&amp;gt; &amp;lt;div class=&quot;home-bottom-1&quot;&amp;gt;',
                   'after'  =&amp;gt; &amp;lt;/div&amp;gt;',
                ) );
             }
             if ( is_active_sidebar( 'home-bottom-2' ) ) {
                genesis_widget_area( 'home-bottom-2', array(
                   'before' =&amp;amp;gt; '&amp;amp;lt;div class=&quot;home-bottom-2&quot;;&amp;amp;gt;',
                   'after'  =&amp;amp;gt; '&amp;amp;lt;/div&amp;amp;gt;',
                ) );
             }
          echo '&amp;amp;lt;/div&amp;amp;gt;&amp;amp;lt;/div&amp;amp;gt;';
       }
    }
    

    Then add to your "style-front.css" (in "css" folder):

    .home-bottom {
        background: #ff1a1a;
    }
    

    Let me know whether this works; I cannot check the code on your site. The wrap might need to go somewhere else.

    June 29, 2017 at 8:33 am in reply to: Infinity Pro – Header overlays first widget area on front page #208462
    PyramidWeb
    Member

    Thank you, Dave. That solved the problem!

  • Author
    Posts
Viewing 13 posts - 21 through 33 (of 33 total)
← 1 2
« Previous Page

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