• 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

rfmeier

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 584 total)
← 1 2 3 4 … 28 29 30 →
  • Author
    Posts
  • December 28, 2014 at 11:08 am in reply to: Foodie Recipe Index Question #135483
    rfmeier
    Member

    Hello,

    You have a border-top within your style.css on the title that is causing a huge margin.

    /* style.css line 775 */
    .featured-content .entry-title,
    .featuredpost h2 {
    	border-top: 34px solid #fff; 
    	font-size: 14px;
    	font-size: 1.4rem;
    	line-height: 1.2;
    	margin: 0;
            font-weight: bold;
    	text-align: center;
    }

    Remove the border-top: 34px solid #fff; line and that should solve your issue.


    Ryan Meier – Twitter

    December 28, 2014 at 11:02 am in reply to: Looking for a way to display a different excerpt for each category/subcategory #135481
    rfmeier
    Member

    SB,

    In short; Display a custom post excerpt depending it's category? Is the excerpt set per post? Per category?

    I would recommend doing this in a plugin. If you change themes, it won't be disrupted.


    Ryan Meier – Twitter

    December 28, 2014 at 10:57 am in reply to: New way of displaying add header, etc in admin #135479
    rfmeier
    Member

    babress,

    This was changed in a WordPress update. Genesis has no control over this.


    Ryan Meier – Twitter

    December 28, 2014 at 10:47 am in reply to: Navigation breaking over two lines on iPad #135478
    rfmeier
    Member

    Sam,

    At line 1677 within you style.css file, change width: 650px; to width: 100%;, then add the code I pasted below that css block.

    .genesis-nav-menu,
    .site-header .widget-area,
    .site-title {
    	text-align: center;
    }

    Ryan Meier – Twitter

    December 28, 2014 at 10:41 am in reply to: Sticky Mobile Nav on Cafe Pro #135477
    rfmeier
    Member

    Also, if you just want it at the very top, you can edit you style.css file as follows;

    https://gist.github.com/rfmeier/0e586532461e1ca35242


    Ryan Meier – Twitter

    December 28, 2014 at 10:37 am in reply to: Sticky Mobile Nav on Cafe Pro #135475
    rfmeier
    Member

    Adam,

    To make the navigation bar stick on mobile as it does desktop, you will need to edit your style.css file;

    or, if you want it at the very top, change you style.css like below;

    https://gist.github.com/rfmeier/0e586532461e1ca35242


    Ryan Meier – Twitter

    December 28, 2014 at 10:14 am in reply to: Shortcode for comment bubble #135473
    rfmeier
    Member

    Jess,

    This is due to displaying your posts through a widget on a page. If you look at the code, it will only display the comment bubbles if you are not on a page. I updated to script to remove the clause and always display the comment bubbles.

    https://gist.github.com/rfmeier/aeb327a23dc22d3f4aad


    Ryan Meier – Twitter

    November 25, 2014 at 3:15 pm in reply to: Winning Agent Featured Listings on Home Page Clicking Problem #132804
    rfmeier
    Member

    Great! Glad I could help.


    Ryan Meier – Twitter

    November 25, 2014 at 1:25 pm in reply to: Winning Agent Featured Listings on Home Page Clicking Problem #132785
    rfmeier
    Member

    Man alive. Posting code never works here.


    Ryan Meier – Twitter

    November 25, 2014 at 1:24 pm in reply to: Winning Agent Featured Listings on Home Page Clicking Problem #132784
    rfmeier
    Member

    Jeff,

    You have the same issue with the clickable area;

    Around line ~771 within your style.css file change

    .home .listing-wrap:hover span,
    .home .listing-wrap:hover a.more-link {
    	opacity: 0;
    }

    to

    .home .listing-wrap:hover span,
    .home .listing-wrap:hover a.more-link {
    	display: none;
    }

    As for the missing bottom margins... it looks like some elements aren't respecting their height. The issue is probably deeper, but I was able a get a fix in as follows;

    Around line ~1238 within your style.css file, change the min-height to 200px like so;

    .home-featured-1,
    .home-featured-2,
    .home-featured-3,
    .home-listings .featured-listings .entry {
    	float: left;
    	margin-bottom: 0;
    	margin-right: 60px;
    	min-height: 200px;
    	text-align: center;
    	width: 340px;
    }

    Ryan Meier – Twitter

    November 25, 2014 at 12:42 pm in reply to: Winning Agent Featured Listings on Home Page Clicking Problem #132777
    rfmeier
    Member

    Jeff,

    Who is your comment targeted at? kduffey or myself?


    Ryan Meier – Twitter

    June 20, 2014 at 1:59 pm in reply to: Cut the white spaces #110833
    rfmeier
    Member

    G,

    I would also love if you could help me reduce the size of the menu. It is just too broad i would like to reduce it to a better width i.e reduce the size.

    To adjust the width of the menu, you can do two things;

    1. Adjust the padding on the anchor elements

    /* style.css line ~1018 */
    .genesis-nav-menu a {
        border: none;
        color: #222;
        display: block;
        padding: 25px 20px; /* adjust the second value for left and right padding */
        position: relative
    }

    2. Reduce the font size of the anchor elements;

    /* style.css line ~1018 */
    .genesis-nav-menu a {
        border: none;
        color: #222;
        display: block;
        padding: 25px 20px;
        font-size: 14px; /* adjust the font size */
        position: relative
    }

    And also when you visit my site you’ll find that the left and the right side are blank can you suggest me any idea to put it into better use? Can i add like a fixed menu bar even in that white space and in the right white space add some social icons with some ads? Any suggestions and how to do it?

    I will leave that up to a designer. I am the last person who should be giving out design advice. You may want to make a new thread in the Design Tips section

    Good luck.


    Ryan Meier – Twitter

    June 20, 2014 at 6:49 am in reply to: Shortcode with custom loop in page affecting search results #110384
    rfmeier
    Member

    jspada,

    The first is still a big one. The shortcode is still not showing its query results on the the search results page. You can see that here, Memoriam test search results, its the first result on the page. This is the major issue. If you click the link and go to the actual page Im using the short code on you can see that it does work there on the individual page.

    Shortcodes are only executed on pages where the shortcode exists. A search is not a post or a page, but you can still modify the initial query to affect the search results. The search page can actually take in extra parameters from the query string to alter the results. Adding post_type=memoriam will return a search of only the 'memoriam' posts. Search memoriam post types. There are two ways (probably more) to accomplish this.

    1. Create your own search form and add a <input type="hidden" name="post_type" value="memoriam" /> within the search form, so the post type gets passed along with the search.

    2. Hook into the pre_get_posts action for a search and append the post_type. This would cause all default searches to search the custom post type. Logic could also be used to allow the default search too.

    Second, if you scroll down the search results page a bit you will notice that other results, ones that are not of type memoriam, have the ‘FILED UNDER: CATEGORY’ printed twice. I can fix that by removing ‘genesis_post_meta();’ from the jspt_memoriam_post_meta function. However, in addition to that, the posts of type memoriam, still have ‘FILED UNDER:’ in the footer although just without the actual category. The jspt_memoriam_post_meta function you created just seems to remove the metadata and not the entire entry footer area.

    This ended up being a bug in my code. I was assuming get_post_type() was grabbing the current post object, but it wasn't. This was breaking the logic within the actions and filters I added. I fixed this code and updated the gist. I didn't notice this before because I wasn't able to test the code.

    I also want to remove the entry content for memoriam post types. So can I rewrite the jspt_memoriam_post_meta function like this?

    The action should be added to the functions.php file like the other action and filter I added. I updated the code to include this within the gist.

    https://gist.github.com/31897a3519df07c75829.git


    Ryan Meier – Twitter

    June 19, 2014 at 5:58 am in reply to: Shortcode with custom loop in page affecting search results #110385
    rfmeier
    Member

    jspada,

    The first is still a big one. The shortcode is still not showing its query results on the the search results page. You can see that here, Memoriam test search results, its the first result on the page. This is the major issue. If you click the link and go to the actual page Im using the short code on you can see that it does work there on the individual page.

    Shortcodes are only executed on pages where the shortcode exists. A search is not a post or a page, but you can still modify the initial query to affect the search results. The search page can actually take in extra parameters from the query string to alter the results. Adding post_type=memoriam will return a search of only the 'memoriam' posts. Search memoriam post types. There are two ways (probably more) to accomplish this logic.

    1. Create your own search form and add a <input type="hidden" name="post_type" value="memoriam" /> within the search form, so the post type gets passed along with the search.

    2. Hook into the pre_get_posts action for a search and append the post_type. This would cause all default searches to search the custom post type. Logic could also be used to allow the default search too.

    Second, if you scroll down the search results page a bit you will notice that other results, ones that are not of type memoriam, have the ‘FILED UNDER: CATEGORY’ printed twice. I can fix that by removing ‘genesis_post_meta();’ from the jspt_memoriam_post_meta function. However, in addition to that, the posts of type memoriam, still have ‘FILED UNDER:’ in the footer although just without the actual category. The jspt_memoriam_post_meta function you created just seems to remove the metadata and not the entire entry footer area.

    This ended up being a bug in my code. I was assuming get_post_type() was grabbing the current post object, but it wasn't. This was breaking the logic within the actions and filters I added. I fixed this code and updated the gist. I didn't notice this before because I wasn't able to test the code.

    I also want to remove the entry content for memoriam post types. So can I rewrite the jspt_memoriam_post_meta function like this?

    The action should be added to the functions.php file like the other action and filter I added. I updated the code to include this within the gist.

    https://gist.github.com/31897a3519df07c75829.git


    Ryan Meier – Twitter

    June 18, 2014 at 12:21 pm in reply to: Shortcode with custom loop in page affecting search results #110387
    rfmeier
    Member

    jspada,

    Send me an email at [email protected]

    The forum will not display my response.


    Ryan Meier – Twitter

    June 17, 2014 at 4:25 pm in reply to: minimum pro: archive portfolio for catgeory archive pages and home page #110278
    rfmeier
    Member

    Hello,

    I have done this once in the past for a custom post type by adding some logic to the functions.php file to trick WordPress into thinking the home page is an archive page. Since I have never used to Minimum Pro theme, I am not 100% sure on the files included, but I am sure we will be able to get this to work.

    1. Within the Minimum Pro theme folder, create an archive.php file if one does not exist already.

    2. Copy the code from the Archive Portfolio template into the archive.php file. (I am not 100% sure the code will work as I don't have this theme. If I saw the code, I would have a better understanding)

    3. Add the following code to your functions.php file. This will trick WordPress into thinking the home should use the archive.php file.

    4. See what results you get. The css may be a little off due to some body classes that may or may not change.

    Let me know how this turns out. I am pretty sure we can get this to work.


    Ryan Meier – Twitter

    June 17, 2014 at 7:25 am in reply to: Maximum Width and Height of Images in Winning Agent Pro Theme #110162
    rfmeier
    Member

    Glad I could help. Good luck.


    Ryan Meier – Twitter

    June 16, 2014 at 8:07 pm in reply to: Centering Split Menu and Logo #110089
    rfmeier
    Member

    Are you able to edit the css within the browser? Kinda hard to diagnose from a far.


    Ryan Meier – Twitter

    June 16, 2014 at 7:52 pm in reply to: Shortcode with custom loop in page affecting search results #110085
    rfmeier
    Member

    I finally had a change to sit down and look at the code. I broke it into three parts, but you can paste them all in the same functions.php file. I made an explanation for each part.

    You will only need to create a 'genesis_post_info' filter once and let the logic do the work. When the entry header goes to display the entry meta, if the post type is 'memoriam', it will display the custom content. If not, it will display the default content. This allows you to insert your custom output and leave the default functionality in place.

    Similar logic is used to not display the entry footer content for the 'memoriam' post type. When the current post object is not 'memoriam', the default post content will be displayed.

    For the short code, you were correct the first time in using the genesis_custom_loop(). The filter and action delegation is no longer needed within the shortcode callback.

    I hope this works helps you out.

    Edit: I had to put all code in one gist as the forum was removing all posts.

    Edit #2: This is obnoxious. Links will not display. You can contact me through my contact form and I can send you the code. http://www.rfmeier.net/contact/


    Ryan Meier – Twitter

    June 16, 2014 at 12:15 pm in reply to: IE Compatibility View issue #110009
    rfmeier
    Member

    It should be within the <head> element. Outside of head would definitely be ignored and probably cause even more rendering issues in IE.

    Here is code to inject the meta element early.

    You could probably use Genesis Simple Hooks instead of adding code. I am not sure if it will let you adjust action priority.


    Ryan Meier – Twitter

  • Author
    Posts
Viewing 20 posts - 41 through 60 (of 584 total)
← 1 2 3 4 … 28 29 30 →
« 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