Dan B

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • in reply to: parallax pro dropdowns #110478

    Dan B
    Participant
    Post count: 26

    Hi Scottz.… I see that you have given up, as the menu on your site is still not working on Android (as tested on my Nexus 5).

    The issue here is that Android and iOS have a different on-click behavior. Android will always perform a click through, where as iOS will treat it as an on-hover, and then allow you to press again for a click through.

    Practically, this means that – on an iOS device – when you touch on the About link in your menu (and the about link has a submenu under it) the touch will bring up the submenu and allow you to view it. Then you may select any link.

    Whereas on Android, the very first touch will pull up the submenu, but will ALSO take you straight to the About page. You would have to be extraordinarily fast to make it down the submenu to, for example, reach the FAQs page on your site. Near impossible.

    So, the simple solution, as Tom mentioned, is to simply not allow the About page to be a link, but to use it as a placeholder instead. You can still have a page called About, for people who stumble upon it, but essentially you’d place all content in the submenu. To use it as a placeholder simply set the link URL as #.

    There must be a better solution out there, but I think that would probably require conditional functions for various mobile devices.

    If you find any better solution, do post here. I’d love to explore other possibilities.


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.

    in reply to: Add different Sidebars to each post of a CPT #95253

    Dan B
    Participant
    Post count: 26

    Brilliant! Thanks Brad.

    I was searching the forums looking for a way to add the sidebar selector to my custom post types pages. The following code in my functions.php file did the trick (note that my custom post type name is ‘projects’).

    add_post_type_support( 'projects', 'genesis-simple-sidebars' );


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.

    • This reply was modified 8 months, 2 weeks ago by  Dan B.
    • This reply was modified 8 months, 2 weeks ago by  Dan B.
    • This reply was modified 8 months, 2 weeks ago by  Dan B.
    • This reply was modified 8 months, 2 weeks ago by  Dan B.
    in reply to: Can't assign primary sidebar to category #95251

    Dan B
    Participant
    Post count: 26

    I’m having a similar issue. I’d love to hear the solution.


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.


    Dan B
    Participant
    Post count: 26

    Hi all,

    It turns out that this is a non-issue. My question about keeping the images centered was based upon my observation that images would not center on small screens when I manually resized my browser window with a pre-loaded page.

    However, if I first re-size my browser window – or use a mobile device – and THEN load the page, all images center just as they should.

    So, the good news is that this is not be a problem at all in real-world use.

    :-)


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.

    in reply to: Expose Pro Theme – Display menu all the time? #65312

    Dan B
    Participant
    Post count: 26

    Or, even better, why not just remove the JS ‘sticky menu’ feature altogether?

    In your functions.php file, delete or comment out this line:
    wp_enqueue_script( 'expose-sticky-menu', get_bloginfo( 'stylesheet_directory' ) . '/js/sticky-menu.js', array( 'jquery' ), '1.0.0' );

    Then, in the style.css file, locate .nav-primary and delete display:none; so it looks like this:

    .nav-primary {
    	background-color: #fff;
    	border-bottom: 1px solid #eee;
    	position: fixed;
    	text-align: center;
    	top: 0;
    	width: 100%;
    	z-index: 999;
    }

    And then add in the following CSS (or something similar) to your style.css file, in order to push the top of your content down (feel free to edit that 80px value to something that suits your taste):

    body {
    	position: relative;
    	top: 80px;
    }

    And there ya have it. We’ve removed the JS instructions, UN-hidden the menu, and pushed the page content down to make space for the menu.

    Finally, if you’re really picky, and will not need that JS sticky menu in the future, head to your js folder and delete the sticky-menu.js file. It’s not necessary to make this work, but I did it. :-)

    Good luck!


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.


    Dan B
    Participant
    Post count: 26

    Hi dpeschio,

    Just want to say that I love your website. I’m a Raleigh guy, but I’m now thinking about moving closer to an Ale Trail. :-)

    Here’s how I display featured images in my Metro Pro theme mod. The following code would go in your Functions.php folder, and you could customize certain aspects, to suit your site.

    This code will show featured images in Category 1 and Category 2, but none others (i.e. such as Maps):

    
    // Add Post image above post title, single posts only (Gen v2) //
    add_action( 'genesis_entry_header', 'show_post_image' );
    function show_post_image() {
    	if ( in_category( 'category1')) {
    		echo get_the_post_thumbnail($thumbnail->ID);
    	}
    	elseif ( in_category( 'category2')) {
    		echo get_the_post_thumbnail($thumbnail->ID);
    	}
    	else {
    	}
    }
    

    As far as I’m aware, there is not a way turn on featured images for all posts, except one category. Basically, you must enable the posts only for the categories you wish to see features images in.

    Good luck!


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.

    • This reply was modified 1 year, 2 months ago by  Dan B.
    • This reply was modified 1 year, 2 months ago by  Dan B.
    in reply to: Metro Pro's gutter between main content and sidebar #62459

    Dan B
    Participant
    Post count: 26

    Yup. Good advice. I’ve done this on a site or two, as well.


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.

    in reply to: Minimum Theme ?? #57866

    Dan B
    Participant
    Post count: 26

    Yup. That worked for me.

    Thanks.


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.

    in reply to: Header Image Disappeared after update #55613

    Dan B
    Participant
    Post count: 26

    Similar issue here: My #header color disappeared!


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.

    in reply to: Header problem after update! #55611

    Dan B
    Participant
    Post count: 26

    Similar issues here.

    One site, a custom design I am working on, has lost all CSS formatting in the header.

    The other, a customized version of the Minimum theme (can’t link here, both are behind dev walls), has lost it’s header background color. And now I can’t set any header color via CSS. At all.


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.

    in reply to: Tip: How to Make Youtube Videos Responsive #49114

    Dan B
    Participant
    Post count: 26

    The Fluidvid Javascript solution seems to be the easiest. The bonus is that you don’t need to rely on a plugin. AND it should work better with the upcoming WordPress 3.6 custom post features.

    It was already mentioned a few posts back, but here’s the link again: http://neatandplain.com/responsive-youtube-or-vimeo-videos-in-genesis/


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.

    in reply to: Author Box on Pages above Comments #47431

    Dan B
    Participant
    Post count: 26

    Thanks Mane60. Just a note for all future forum searchers:

    1) Be sure you have globally enabled the Author Box in your theme (if it’s not already so), otherwise the instructions above have no effect.

    2) Ensure you have copied the code in the proper format. I copied, originally, from the post above and had formatting errors (with all the ‘s turning into ’s). You can prevent this by getting the code directly from http://wpsmith.net/2011/genesis/add-the-genesis-author-box-to-pages/


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.


    Dan B
    Participant
    Post count: 26

    Hi,

    Any luck getting the Genesis Tabs widget plugin to show custom field info?

    If not, how’d you solve this issue?

    I’m trying to pull custom field info and display it in a sidebar, so it’d be a great help to know how to do this.

    Thanks!


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.

    in reply to: Adding Category Names to page-title.php in Minimum 2.0 #46705

    Dan B
    Participant
    Post count: 26

    I’d like to do something similar as well, except that I don’t want to hard code the categories into the page-title.php file as you have.

    Also, for a few pages, I’d like the actual page name to be in the page-title area. But so far, can’t get that to work. Not quite sure how to call it.

    Any ideas?


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.

    in reply to: How to change homepage description #46692

    Dan B
    Participant
    Post count: 26

    Simple. Open the page-title.php doc and make this change:

    Old:
    `if ( is_home() ) {
    echo ” . esc_html( get_bloginfo( ‘description’ ) ) . ‘‘ . __( ‘Talk to us’, ‘minimum’ ) . ‘‘;
    }
    `

    New:
    `
    if ( is_home() ) {
    echo ” . __( ‘type your custom text here’, ‘minimum’ ) . ‘‘ . __( ‘And make a custom button too’, ‘minimum’ ) . ‘‘;
    }
    `

    EDIT: Actually, some of the code is disappearing here. Not sure why. But you should be able to figure it out of you look at the other code snippets below the Home code in the same document. :-)


    Dan @ ZindaMedia
    Freelance web development and design for non-profits and small businesses.

    • This reply was modified 1 year, 5 months ago by  Dan B. Reason: missing code
    • This reply was modified 1 year, 5 months ago by  Dan B. Reason: missing code
Viewing 15 posts - 1 through 15 (of 17 total)