• 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

neilgee

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 - 41 through 60 (of 160 total)
← 1 2 3 4 … 6 7 8 →
  • Author
    Posts
  • February 13, 2015 at 8:03 pm in reply to: Style search box (Outreach Pro child theme) #140803
    neilgee
    Member

    You need to address the padding in the input field... and add in a background color.

    input[type="search"] {
    padding: 6px;
    background-color: antiquewhite;
    }

    You then might want to adjust the placeholder text to complement the background color - here's a guide for reference - http://coolestguidesontheplanet.com/styling-placeholder-text-input-fields-forms-css/


    Neil Gee
    WP Beaches
    Coolest Guides

    February 13, 2015 at 7:54 pm in reply to: Phone number wont show on some mobile devices #140802
    neilgee
    Member

    In your style.css on line 1165, change

    .site-header .widget-area a {
    	color: #fff;
    }

    to

    .site-header .widget-area a {
    	color: #000;
    }

    Or whatever color needed


    Neil Gee
    WP Beaches
    Coolest Guides

    February 13, 2015 at 7:45 pm in reply to: H2 Titles Inside My Post #140801
    neilgee
    Member

    You can add in a rule in your style.css to increase the line height (currently set to 30px) to say....

    h2 {
    line-height: 35px;
    }

    just increase the pixel value to suit


    Neil Gee
    WP Beaches
    Coolest Guides

    February 13, 2015 at 5:45 pm in reply to: Featured Images Not in Uniform Size #140793
    neilgee
    Member

    try running the plugin Regenerate Thumbnails


    Neil Gee
    WP Beaches
    Coolest Guides

    February 13, 2015 at 5:42 pm in reply to: Manual excerpts read more link #140792
    neilgee
    Member

    You can try:

    //Read More Button For Excerpt
    function themeprefix_excerpt_read_more_link( $output ) {
    	global $post;
    	return $output . ' <a href="' . get_permalink( $post->ID ) . '" class="more-link" title="Read More">Read More</a>';
    }
    add_filter( 'the_excerpt', 'themeprefix_excerpt_read_more_link' );
    

    http://wpbeaches.com/force-read-link-excerpts-wordpress/


    Neil Gee
    WP Beaches
    Coolest Guides

    February 13, 2015 at 5:14 pm in reply to: None of the contact form plugins are working #140787
    neilgee
    Member

    Could be a server thing you can try an alternative mailer WP Mail SMTP


    Neil Gee
    WP Beaches
    Coolest Guides

    February 13, 2015 at 5:10 pm in reply to: Centering Menu Items #140785
    neilgee
    Member

    You can add in style.css

    #menu-menu-new {
    text-align: center;
    }

    Neil Gee
    WP Beaches
    Coolest Guides

    February 13, 2015 at 5:07 pm in reply to: Add a CSS class to an HTML Element #140783
    neilgee
    Member

    You can just add the class attribute and value into the img tag - then target that


    Neil Gee
    WP Beaches
    Coolest Guides

    February 5, 2015 at 8:23 pm in reply to: Menu bar #139901
    neilgee
    Member

    Reduce the padding on the links, add this in your CSS...

    .menu-secondary a {
    padding: 0 15px;
    }

    Neil Gee
    WP Beaches
    Coolest Guides

    November 23, 2014 at 4:40 pm in reply to: Child Theme – Copy full CSS from parent? #132603
    neilgee
    Member

    All the child themes available have their own CSS style file which you should edit directly.

    If you are creating a theme from scratch off the framework it is best to start with the Sample Theme which comes with the framework as a download from StudioPress - this also has its own style sheet which you can edit directly.


    Neil Gee
    WP Beaches
    Coolest Guides

    November 23, 2014 at 4:34 pm in reply to: Hi, Maybe a very stupid question..! #132600
    neilgee
    Member

    PHP is the core language used for the framework, which controls the HTML output. So thats the best starting point, you'll find PHP intro courses on Lynda, Treehouse and CodeAcademy then take a look at Nick the Geeks Genesis Explained - http://designsbynickthegeek.com/tutorials/genesis-explained-the-framework


    Neil Gee
    WP Beaches
    Coolest Guides

    November 15, 2014 at 11:05 pm in reply to: Remove Blog Listings from Content Archives #131706
    neilgee
    Member

    Yes you can target default archive page as well just change the condition if( is_home() || is_archive() )

    For translations you need - Remkus de Vries plugin/


    Neil Gee
    WP Beaches
    Coolest Guides

    November 15, 2014 at 5:07 pm in reply to: Remove Blog Listings from Content Archives #131683
    neilgee
    Member

    You can try the code below, adjust your character count where it is commented

    add_action('genesis_before_loop', 'wpb_change_home_loop');
    
    function wpb_change_home_loop() {
    if( is_home() ) {
    
    /** Replace the home loop with our custom **/
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'wpb_custom_loop' );
    
    /** Custom lode loop */
    
    function wpb_custom_loop() {
    if ( have_posts() ) :
    
    		do_action( 'genesis_before_while' );
    		while ( have_posts() ) : the_post();
    
    			do_action( 'genesis_before_entry' );
    
    			printf( '<article %s>', genesis_attr( 'entry' ) );
    
    				do_action( 'genesis_entry_header' );
    
    				do_action( 'genesis_before_entry_content' );
    
    				printf( '<div %s>', genesis_attr( 'entry-content' ) );
    				
    				//do_action( 'genesis_entry_content' ); //Remove standard excerpt
    				
    				echo genesis_do_post_image(); //Add in featured image
    				
    				echo the_excerpt_max_charlength(200); //change amount of characters to display
    				
    				echo '</div>';
    
    				do_action( 'genesis_after_entry_content' );
    
    				do_action( 'genesis_entry_footer' );
    
    			echo '</article>';
    
    			do_action( 'genesis_after_entry' );
    
    		endwhile; //* end of one post
    		do_action( 'genesis_after_endwhile' );
    
    	else : //* if no posts exist
    		do_action( 'genesis_loop_else' );
    	endif; //* end loop
    
    }
    
    	}
    }
    //Limit the excerpt by character - http://codex.wordpress.org/Function_Reference/get_the_excerpt
    function the_excerpt_max_charlength($charlength) {
    
    	$excerpt = get_the_excerpt();
    	$charlength++;
    
    	if ( mb_strlen( $excerpt ) > $charlength ) {
    		$subex = mb_substr( $excerpt, 0, $charlength - 5 );
    		$exwords = explode( ' ', $subex );
    		$excut = - ( mb_strlen( $exwords[ count( $exwords ) - 1 ] ) );
    		if ( $excut < 0 ) {
    			echo mb_substr( $subex, 0, $excut );
    		} else {
    			echo $subex;
    		}
    		echo ' <br><a href="' . get_permalink() . '" class="more-link" title="Read More">Read More</a>';
    	} else {
    		echo $excerpt;
    	}
    }

    https://gist.github.com/neilgee/144c3c9203c958daadbe


    Neil Gee
    WP Beaches
    Coolest Guides

    November 14, 2014 at 2:26 am in reply to: Genesis and Buddypress #131491
    neilgee
    Member

    Genesis Connect for BuddyPress is for older versions of BuddyPress, you don't need this with the latest version. The default styling is fine.

    For BuddyPress help check out their forums.


    Neil Gee
    WP Beaches
    Coolest Guides

    October 18, 2014 at 12:36 am in reply to: How do I hide a category but still keep the post available? #128228
    neilgee
    Member

    You can do this either by hiding it in CSS or using a PHP code block to hide the post meta based on the Category ID/SLug

    function themeprefix_hide_certain_category() {
    	if( in_category( 'slider' ) ) {
    	remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
    	}
    }
    add_action('genesis_after_header','themeprefix_hide_certain_category');

    So in the above the post meta will not render on single posts that belong to the category 'slider' - you would add this in your functions.php file.


    Neil Gee
    WP Beaches
    Coolest Guides

    October 11, 2014 at 5:01 pm in reply to: Archive Page Post Titles Below Image #127511
    neilgee
    Member

    Seems like my code didn't remove the original function but added the new one, so that's why their is duplicates - if you search for 'genesis_do_post_image' in the functions.php file - can you post the full function it is in.


    Neil Gee
    WP Beaches
    Coolest Guides

    October 8, 2014 at 9:42 pm in reply to: Archive Page Post Titles Below Image #127178
    neilgee
    Member

    You would have to give the image a higher priority on the archive page, add in a snippet in functions.php ....

    add_action( 'genesis_before_content', 'themeprefix_swap_title_image_cpt' );
    function themeprefix_swap_title_image_cpt() {
         if ('is_archive' && 'wap-community' == get_post_type()) {//add in your CPT name
    		remove_action( 'genesis_entry_header', 'genesis_do_post_image' );
    		add_action( 'genesis_entry_header', 'genesis_do_post_image', 2 );
    	}
    }

    This would target the archive page for the 'wap-community', remove the image and then add in at a higher priority.


    Neil Gee
    WP Beaches
    Coolest Guides

    August 23, 2014 at 9:20 pm in reply to: Reduce top padding over post titles #120718
    neilgee
    Member

    You can try this in your style.css

    .home-bottom .featured-content .entry-title {
    margin-top: -5px;
    }

    Neil Gee
    WP Beaches
    Coolest Guides

    August 23, 2014 at 7:12 pm in reply to: Front Page Widget Positions #120707
    neilgee
    Member

    What the issue was that by default the column CSS classes have a float left attribute.

    By just adjusting the float to the right on the smaller column width allows enough room for the 2nd 2/3 column to pop up.

    But the lower element (2nd 2/3 column) also was clearing the surrounding elements as it had a clear set to both, setting the clear to none allows it to move up.


    Neil Gee
    WP Beaches
    Coolest Guides

    August 23, 2014 at 6:44 pm in reply to: Front Page Widget Positions #120699
    neilgee
    Member

    What you need to do is add a float right to the one-third area and a clear none to the featured-slot-2

    .one-third {
      float:right;
    }
    
    .featured-slot-2 {
      clear: none;
    }

    I would add a unique class to the one-third div and apply the float to that as if you are going to use one-third in other areas


    Neil Gee
    WP Beaches
    Coolest Guides

  • Author
    Posts
Viewing 20 posts - 41 through 60 (of 160 total)
← 1 2 3 4 … 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

© 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