• 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

nunotmp

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 - 121 through 140 (of 156 total)
← 1 2 3 … 6 7 8 →
  • Author
    Posts
  • September 16, 2013 at 8:00 pm in reply to: Reduce image file size #62931
    nunotmp
    Member

    Try this out
    http://wordpress.org/plugins/wp-smushit/


    Genesis Child Themes – Follow Me

    September 16, 2013 at 7:57 pm in reply to: Where is my CSS file for editing? #62929
    nunotmp
    Member

    You can view it by going to the backend and hovering apperance>editor


    Genesis Child Themes – Follow Me

    September 16, 2013 at 7:56 pm in reply to: Remove top WordPress Toolbar #62928
    nunotmp
    Member

    Use this

    
    add_action('set_current_user', 'hide_admin_bar');
    function hide_admin_bar() {
      if (!current_user_can('edit_posts')) {
        show_admin_bar(false);
      }
    }
    

    This will check if the use has the ability to edit post(basically editor or admin ).


    Genesis Child Themes – Follow Me

    September 16, 2013 at 7:39 pm in reply to: Image in Genesis Slider #62918
    nunotmp
    Member

    It looks like your theme has a class of .slider with only a width of 610px. If you change it to 100% I think you will get the effect you are going for.

     
    .slider {
    	float: left;
    	width: 610px;
    }
    

    The style is on line 648 of your style.css file.


    Genesis Child Themes – Follow Me

    September 16, 2013 at 5:05 pm in reply to: What does this number indicate? #62902
    nunotmp
    Member

    Priority.

    This is useful with adding multiple functions to the same hook. Example:

    
    add_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );
    add_action( 'genesis_entry_content', 'genesis_do_post_content' );
    add_action( 'genesis_entry_content', 'genesis_do_post_content_nav', 12 );
    add_action( 'genesis_entry_content', 'genesis_do_post_permalink', 14 );
    

    The lower then number the sooner the code will execute. If you wanted to add the post title just under the post image you can do something like

    
    add_action( 'genesis_entry_content', 'genesis_do_post_title', 9 );
    

    or above it with

    
    add_action( 'genesis_entry_content', 'genesis_do_post_title', 7 );
    

    Genesis Child Themes – Follow Me

    September 16, 2013 at 4:46 pm in reply to: Help With Single Page Template and Advanced Custom Fields #62898
    nunotmp
    Member

    We can do this using only hook....A lot of hooks. 🙂

    
    	// First lets remove all of the post elements so we can inject our own
    	remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 );
    	remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 );
    	remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
    	remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    	remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
    	remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 );
    	remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 );
    	remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
    
    	// We will define a function to add two columns into the post this will add everything in the <article> tags
    	add_action( 'genesis_entry_content', 'wpz_column_artist' );
    
    	// We can start adding all the necessary loop parts into our new custom hooks
    
    	// Left column content here
    	add_action( 'wpz_left_column', 'genesis_do_post_title' );
    	add_action( 'wpz_left_column', 'genesis_do_post_content' );
    
    	// Right column content here
    	add_action( 'wpz_right_column', 'genesis_do_post_image' );
    	// ADD code to display ACP
    
    /*	Action Functions
    ----------------------------------------------- */
    
    function wpz_column_artist() {
    	
    	echo '<div class="one-half first">';
    	// Lets create a left column hook 
    		do_action('wpz_left_column');
    	echo '</div>'; //END .one-half first
    
    	echo '<div class="one-half">';
    	// Lets create a right column hook 
    		do_action('wpz_right_column');
    	echo '</div>'; //END .one-half first
    
    }
    

    You may need to add a few more function to output the data you want. Just use the custom hooks to display left or right side.


    Genesis Child Themes – Follow Me

    September 16, 2013 at 12:01 pm in reply to: How to insert custom markup outside of header's .wrap? #62851
    nunotmp
    Member

    You know what, do this.

    
     remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
    add_action( 'genesis_header', 'wpz_header_markup_close', 15 );
    
    function wpz_header_markup_close() {
    
    	genesis_structural_wrap( 'header', 'close' );
    
    	do_action( 'wpz_after_header_wrap' );
    
    	genesis_markup( array(
    		'html5' => '</header>',
    		'xhtml' => '</div>',
    	) );
    
    }
    

    What this does is removed the genesis closeing markup and inserts our custom markup. I added a custom hook after the .wrap and before the </header> so you can then use the example above to add the custom markup like so

    
    add_action( 'wpz_after_header_wrap', custom_wrap_open', 12 );
    add_action( 'wpz_after_header_wrap', 'custom_wrap_close', 14 );
    
    add_action( 'wpz_after_header_wrap', 'everything_within_custom_wrap', 13 );
    

    The WPZ is my personal prefix you can change it.


    Genesis Child Themes – Follow Me

    September 16, 2013 at 11:51 am in reply to: How to insert custom markup outside of header's .wrap? #62846
    nunotmp
    Member

    Sorry about that. I just re-read you question. This will require quite a bit of work. Genesis since 2.0 automatically adds the .wrap in the header. What exactly are you wanting to do? Maybe there is an easier way?


    Genesis Child Themes – Follow Me

    September 16, 2013 at 7:27 am in reply to: How to insert custom markup outside of header's .wrap? #62810
    nunotmp
    Member

    Genesis uses the following hooks to create the header markup

    
    add_action( 'genesis_header', 'genesis_header_markup_open', 5 );
    add_action( 'genesis_header', 'genesis_header_markup_close', 15 );
    

    with add_action( 'genesis_header', 'genesis_header_markup_close', 15 ); closing the </header> (html5) or the </div>(xhtml). You can follow the same pattern and create you actions like so

    
    add_action( 'genesis_header', custom_wrap_open', 12 );
    add_action( 'genesis_header', 'custom_wrap_close', 14 );
    

    This will hold the openig a closing markup and you can simply add your actions using the priority of 13 like so

    
    add_action( 'genesis_header', 'everything_within_custom_wrap', 13 );
    

    Or an even easier if you do not really need to add so many thing just create a single action

    
    add_action( 'genesis_header', 'wpz_custom_wrap', 13 );
    function wpz_custom_wrap() {
    echo '<div class="custom-wrap">';
          // add anythiing you want within the wrap
    echo '</div">';
    }
    

    Genesis Child Themes – Follow Me

    September 15, 2013 at 11:44 pm in reply to: Archives Home Page #62779
    nunotmp
    Member

    Are you basically trying to display all post under your categories? So if you create a category "TV" you can a title with all post that are marked as tv to display?


    Genesis Child Themes – Follow Me

    September 15, 2013 at 11:40 pm in reply to: question about hiding post content #62778
    nunotmp
    Member

    If the content is still showing you may be using html5? The hook has changed so you need to use
    remove_action( 'genesis_entry_content', 'genesis_do_post_content' );


    Genesis Child Themes – Follow Me

    September 15, 2013 at 8:39 pm in reply to: Create background image that adjusts to different screen resolutions? #62752
    nunotmp
    Member

    You can use a background size of cover. something like this

    
    #inner {
    background: #5282C3 url(images/inner.png) no-repeat center center;
    clear: both;
    margin: 0 auto;
    overflow: hidden;
    padding: 30px 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    }
    

    This will adjust to all screen sizes and uses the necessary browser prefixes.


    Genesis Child Themes – Follow Me

    September 15, 2013 at 6:28 pm in reply to: Modify .content & .sidebar width without breaking the responsive functionnality #62740
    nunotmp
    Member

    One of the things you will need to do is instead of use width: you may need to use max-width: instead.


    Genesis Child Themes – Follow Me

    September 15, 2013 at 6:26 pm in reply to: Magazine Theme stays the same in mobile #62738
    nunotmp
    Member

    I just took a quick look into your stylesheet and it looks like you do not have any responsive design. Responsive sites has @media queries and you site has none. Im guessing you had someone customize your site? Looks like they deleted the responsive styles.


    Genesis Child Themes – Follow Me

    September 15, 2013 at 5:39 pm in reply to: Search Bar Disappears When Viewed in Mobile #62728
    nunotmp
    Member

    Mickmel is correct. You style sheet uses this style

    #nav li.right {
    display: none;
    }

    when the screen size is lower than 960px. If you remove the display: none; you will need to add some additional styles to position the search properly or it will float off to the right. Good luck.


    Genesis Child Themes – Follow Me

    September 15, 2013 at 5:35 pm in reply to: How to add a Soliloquy slider to a Genesis page template file #62727
    nunotmp
    Member

    Great post! I personally always create a widget area to hold my slider.


    Genesis Child Themes – Follow Me

    September 15, 2013 at 5:33 pm in reply to: Magazine Theme stays the same in mobile #62726
    nunotmp
    Member

    It looks like your site is not using the viewport meta tag. Place this in your functions.php file

    /** Add Viewport meta tag for mobile browsers */
    add_action( 'genesis_meta', 'child_viewport_meta_tag' );
    function child_viewport_meta_tag() {
    	echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>';
    }

    Genesis Child Themes – Follow Me

    September 15, 2013 at 5:32 pm in reply to: Header font change not displaying #62725
    nunotmp
    Member

    I just looked at the styles using firebug and it is using the Capriola font on my end. Try using ctrl+shift+r for a full refresh.


    Genesis Child Themes – Follow Me

    September 15, 2013 at 5:23 pm in reply to: change background color for breadcrumbs and body text "quote" #62723
    nunotmp
    Member

    Your breadcrumbs uses the .breadcrumb class and the quote on the sidebar uses .niceQuote


    Genesis Child Themes – Follow Me

    September 15, 2013 at 3:16 pm in reply to: Can't Log in to Buy Themes #62704
    nunotmp
    Member

    Not sure why they have not responded to your queries but give the contact form another go http://www.studiopress.com/contact or you can try twitter @studiopress

    Good luck.


    Genesis Child Themes – Follow Me

  • Author
    Posts
Viewing 20 posts - 121 through 140 (of 156 total)
← 1 2 3 … 6 7 8 →
« Previous Page

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