• 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

Tbnk

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 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • December 12, 2015 at 9:36 am in reply to: Custom Menu with Genesis Sample Theme #173621
    Tbnk
    Member

    Yes it's resolved : I use a third party plugin for the menu and it's possible to customize the css.

    June 5, 2015 at 1:34 pm in reply to: Altitude Pro : home page style on other pages #155020
    Tbnk
    Member

    Hi Jamie,

    thank you again. I've no idea what have to look like the code //* your code here.

    I tried <div>.....</div>, don't work. echo '<div>....</div>';, don't work. Can you give me a clue ?

    I've on my page a div with a class and an id, just would like to "call it and place it" under the title with the background image behind.

    June 4, 2015 at 6:16 pm in reply to: Altitude Pro : home page style on other pages #154902
    Tbnk
    Member

    Hi,

    I removed the a "static" thing about header in the CSS and it works perfectly !

    As said above, I juste replace "page" by "product" and it works. 🙂

    Just don't know how to add something else that the title. Can I just add a div, attribute an ID or a class and then add something in functions.php in order to place it just under the title, inside the "background image zone" !?

    Thanks a lot !

    June 2, 2015 at 12:53 pm in reply to: Altitude Pro : home page style on other pages #154588
    Tbnk
    Member

    Well that's a good start !!! 🙂 🙂

    In functions.php I replaced this if ( has_post_thumbnail() && is_page() && !is_page_template() ) by this if ( has_post_thumbnail() && is_product() ).

    It works : I've the featured image in background as expected, but on mobile, the menu becomes white with white typo instead of black with white typo.

    I'll watch the CSS, I think I'll be able to fix it and share the result.

    And finally my question is : how can I include with the title a div which I'll fill with WP-Views by Toolset, with an excerpt and other elements and then "tell" to the template, "after it's white"... !?

    June 2, 2015 at 9:03 am in reply to: Altitude Pro : home page style on other pages #154551
    Tbnk
    Member

    Hi Jamie,

    I guess I've to change this :
    if ( has_post_thumbnail() && is_page() && !is_page_template() )

    But with what ?

    It's for a single product page (theme/woocommerce/single-product.php), the template is called "Single Product Page Template"... I've no idea how to attribute this code to the good page.

    For instance, here's the code of my single product page template :

    <?php
    /**
     * This file adds the Landing template to the Altitude Pro Theme.
     *
     * @author StudioPress
     * @package Altitude
     * @subpackage Customizations
     */
    
    /*
    Template Name: Single Product
    */
    
    //* Add custom body class to the head
    add_filter( 'body_class', 'altitude_add_body_class' );
    function altitude_add_body_class( $classes ) {
    
       $classes[] = 'altitude-landing';
       return $classes;
       
    }
    
    //* Force full width content layout
    add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' );
    
    //* Add site header elements
    add_action( 'genesis_header', 'genesis_header_markup_open', 5 );
    add_action( 'genesis_header', 'genesis_do_header' );
    add_action( 'genesis_header', 'genesis_header_markup_close', 15 );
    
    //* Add navigation
    add_action( 'genesis_header', 'genesis_do_nav', 12 );
    add_action( 'genesis_header', 'genesis_do_subnav', 5 );
    
    //* Remove breadcrumbs
    remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
    
    //* Add site footer widgets
    add_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
    
    //* Add site footer elements
    add_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
    add_action( 'genesis_footer', 'genesis_do_footer' );
    add_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );
    
    //* Run the Genesis loop
    genesis();

    As you can see, it's the Landing Page Template, but I added the header with the menu (add_action rather than remove_action).

    June 1, 2015 at 9:48 pm in reply to: Altitude Pro : home page style on other pages #154482
    Tbnk
    Member

    Where do I find the code ?

    I'll try tomorrow and let you know. 😉

    Thanks a lot !

    June 1, 2015 at 9:09 pm in reply to: Altitude Pro : home page style on other pages #154479
    Tbnk
    Member

    In fact I use WP-Views by Toolset. I built my product page with a title on the top (same style as in homepage, but I can change it) and a 5 columns part. I planned to put that on a DIV with the background featured image (and main menu on it), like in your demo page.

    Then, in another div, what remains of the product page : details, description, add-to-cart, related products, slider, all with regular white background.

    Of course I can do it another way in order to have that result. But the idea was to have over the background feature image :
    - the menu (like in homepage),
    - the title of the product,
    - excerpt,
    - a row with 5 columns.

    Thanks a lot !

    June 1, 2015 at 6:06 pm in reply to: Altitude Pro : home page style on other pages #154470
    Tbnk
    Member

    Hi,

    thanks for your reply.

    I just need 1 picture, like the first one on the homepage of Altitude (so with the same CSS) : behind the menu, around 574px height and the dark color gradation.

    It's for the product page : each product has a featured image and I would like this image as "background top image". 🙂

    May 26, 2015 at 9:49 am in reply to: Grandchild theme ? #153650
    Tbnk
    Member

    That answers my question ! Thank you Braddalton !

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

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