• 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

ᴅᴀᴠɪᴅ

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 - 301 through 320 (of 326 total)
← 1 2 3 … 15 16 17 →
  • Author
    Posts
  • October 7, 2013 at 5:13 pm in reply to: Mobile widgets overlapping #65727
    ᴅᴀᴠɪᴅ
    Member

    I can see that within one of your media queries on your style sheet you have:

    .home-middle
    .widget,
    .home-top
    .widget {
    -moz-box-sizing: border-box;
    float: left;
    margin: -10px 0; < This bit is wrong
    padding: 0 10px;
    width: 25%;
    }

    You need to change the bit about margin (which I have highlighted above) from negative to positive so it reads

    margin: 10px 0;

    instead. If you have rem values on the margin then you need to change that also.


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    September 19, 2013 at 7:56 am in reply to: Making google fonts crisp on any browser #63362
    ᴅᴀᴠɪᴅ
    Member

    thinking back.. i may have been on chrome actually on windows. It definitely wasn't IE though


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    September 2, 2013 at 4:06 pm in reply to: My site, now with the new Epik Theme #60313
    ᴅᴀᴠɪᴅ
    Member

    the padding-top: value will obviously change dependent on how big your header is.


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    September 2, 2013 at 4:01 pm in reply to: My site, now with the new Epik Theme #60311
    ᴅᴀᴠɪᴅ
    Member

    Hi, thanks! Sorry I have already changed my design before having time to answer your question haha. I actually got bored with the sticky header. It is pretty easy to do though.. For the Epik theme I did this in the stylesheet..

    .head-wrap {
    position: fixed;
    }

    .site-inner {
    padding-top: 134px;
    }

    Then, because i didn't want it to happen on small screen sizes (it takes up to much small on the screen) I did..


    @media
    only screen and (max-width: 767px) {

    .head-wrap {
    position: relative;
    }

    .site-inner {
    padding-top: 0;
    }


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    August 12, 2013 at 9:47 am in reply to: My site, now with the new Epik Theme #55798
    ᴅᴀᴠɪᴅ
    Member

    Thanks Susan!

    Ha, yes there are lots of widget areas. I actually removed them all from the functions.php file and all reference to them in the css as I knew I wasn't going to make a home page on this site, just a blog page. The only reason I chose Epik theme actually was for the portfolio page 🙂


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    July 7, 2013 at 3:13 am in reply to: Trying to add some js to genesis #49608
    ᴅᴀᴠɪᴅ
    Member

    just to clarify (i tend to waffle)

    I am asking if to add javascript to my genesis site, for the purpose of installing a plugin, can i insert code such as

    <script type='text/javascript' src='http://yourdomain.com/wp-content/plugins/yourplugin/js/custom-script.js?ver=3.3.1'></script>

    into my wp_head(): through the dashboard, or do i need to insert it somehow using functions.php.

    Note: I only actually need the js to load on one specific page of my site, if that changes anything.


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    June 7, 2013 at 11:21 am in reply to: Wanting more control over child themes (php) #44563
    ᴅᴀᴠɪᴅ
    Member

    You Sir are a gentleman! Thanks!

    You have not only pointed me in a good direction, but you have also kind of explained why I have had trouble finding documentation on creating child themes. I seems that most people who attempt to start creating a genesis child theme from scratch already have sufficient php knowledge from wordpress and then have no trouble at all adapting to the genesis framework. I came in from the wrong angle.

    I am actually in my 7-day trial at Lynda.com so this works out perfectly.

    I shall now move to the cheapest country I can find (with fast internet connection) and hide out for the next 6 months while I learn php. Then maybe one day I will be able to help somebody else who finds themselves in my current situation.

    Thanks again!


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    June 7, 2013 at 8:24 am in reply to: Wanting more control over child themes (php) #44534
    ᴅᴀᴠɪᴅ
    Member

    PS When I said "I don’t want to spend a year studying something and then find out I only needed 10% of it. I will most likely only ever be working inside of a genesis child theme."

    This really isn't out of laziness. If i have to learn it all then so be it. But I have always thought it is better to be really good at one specific thing than to try and be a jack of all trades. I just want to be able to create genesis child themes that are completely how i want them to be. Functions, styling and everything else. That is all.


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    June 6, 2013 at 8:41 am in reply to: Placing content above the code in .php #44313
    ᴅᴀᴠɪᴅ
    Member

    Perfect. Thanks a lot. Now i can just copy the content into the code.

    I wonder why the page content was never appearing? I thought that is what 'genesis_do_post_content' does.

    Anyway problem solved either way. thanks again!


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    June 6, 2013 at 8:05 am in reply to: Placing content above the code in .php #44308
    ᴅᴀᴠɪᴅ
    Member

    <?php

    // Template Name: Portfolio

    // Adds Page Title and Content
    add_action( 'genesis_before_content', 'genesis_do_post_title' );
    add_action( 'genesis_before_content', 'genesis_do_post_content' );

    // Loads prettyPhoto scripts
    add_action( 'get_header', 'prettyPhoto_scripts' );
    function prettyPhoto_scripts() {
    wp_enqueue_script( 'prettyPhoto-min', CHILD_URL.'/lib/prettyPhoto/js/jquery-1.6.1.min.js' );
    wp_enqueue_style( 'prettyPhoto-css', CHILD_URL.'/lib/prettyPhoto/css/prettyPhoto.css' );
    wp_enqueue_script( 'prettyPhoto-js', CHILD_URL.'/lib/prettyPhoto/js/jquery.prettyPhoto.js' );
    }

    // Adds javascript below footer
    add_action( 'genesis_after_footer', 'prettyPhoto_javascript' );
    function prettyPhoto_javascript() { ?>
    <script type="text/javascript" charset="utf-8">
    $(document).ready(function(){
    $("a[rel^='prettyPhoto']").prettyPhoto();
    });
    </script>
    <?php
    }

    // Force layout to full-width-content
    add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' );

    // Adds "portfolio" and "gallery clearfix" classes to every post
    add_filter( 'post_class', 'portfolio_post_class' );
    function portfolio_post_class( $classes ) {
    $classes[] = 'portfolio';
    $classes[] = 'gallery clearfix';
    return $classes;
    }

    add_filter( 'excerpt_more', 'portfolio_read_more_link' );
    add_filter( 'get_the_content_more_link', 'portfolio_read_more_link' );
    add_filter( 'the_content_more_link', 'portfolio_read_more_link' );
    /**
    * Custom Read More link.
    *
    * @author Wes Straham
    * @since 1.0.0
    */
    function portfolio_read_more_link() {
    return '<a class="more-link" href="' . get_permalink() . '" rel="nofollow">Read More</a>';
    }

    // Remove post info and meta info
    remove_action( 'genesis_after_post_content', 'genesis_post_meta' );
    remove_action( 'genesis_before_post_content', 'genesis_post_info' );

    /**
    * Adds Featured Image and links it to the Post
    *
    * @author Wes Straham
    * @since 1.0.0
    */
    add_action( 'genesis_before_post_content', 'epik_portfolio_do_post_image' );
    function epik_portfolio_do_post_image() {
    $img = genesis_get_image( array( 'format' => 'html', 'size' => 'portfolio-thumbnail', 'attr' => array( 'class' => 'alignnone post-image' ) ) ); printf( '<a href="%s" title="%s">%s</a>', get_permalink(), the_title_attribute('echo=0'), $img );
    }

    /**
    * Opens Featured Images with prettyPhoto Slideshow
    *
    * @author Wes Straham
    * @since 1.0.0
    */
    /*add_action( 'genesis_before_post_content', 'epik_prettyPhoto_image' );
    function epik_prettyPhoto_image() {
    $img = genesis_get_image( array( 'format' => 'html', 'size' => 'portfolio-thumbnail', 'attr' => array( 'class' => 'alignnone post-image' ) ) );
    printf( '<a href="%s" rel="prettyPhoto[gallery1]" title="%s">%s</a>', genesis_get_image( array( 'format' => 'url', 'size' => 'Portfolio Full', 'attr' => array( 'class' => 'alignnone post-image' ) ) ), the_title_attribute('echo=0'), $img );
    }
    */

    // Move title below post image
    remove_action( 'genesis_post_title', 'genesis_do_post_title' );
    add_action( 'genesis_post_content', 'genesis_do_post_title', 9 );

    // Remove default content for this Page Template
    remove_action( 'genesis_post_content', 'genesis_do_post_image' );
    remove_action( 'genesis_post_content', 'genesis_do_post_content' );

    // Add Content for the Portfolio posts in this Page Template
    add_action( 'genesis_post_content', 'epik_portfolio_do_post_content' );
    function epik_portfolio_do_post_content() {

    if ( genesis_get_option( 'epik_portfolio_content' ) == 'excerpts' ) {
    the_excerpt();

    } else {
    if ( genesis_get_option( 'epik_portfolio_content_archive_limit' ) )
    the_content_limit( (int)genesis_get_option( 'epik_portfolio_content_archive_limit' ), __( 'Read More', 'epik' ) );
    else
    the_content(__( 'Read More', 'epik' ));
    }
    }

    // Clear float using genesis_custom_loop() $loop_counter variable
    // Outputs clearing div after every 4 posts
    // $loop_counter is incremented after this function is run
    add_action( 'genesis_after_post', 'portfolio_after_post' );
    function portfolio_after_post() {
    global $loop_counter;

    if ( $loop_counter == 3 ) {
    $loop_counter = -1;
    echo '<div class="clear"></div>';
    }
    }

    // Remove standard loop
    remove_action( 'genesis_loop', 'genesis_do_loop' );

    // Add custom loop
    add_action( 'genesis_loop', 'portfolio_loop' );
    function portfolio_loop() {
    $paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1;

    $include = genesis_get_option( 'epik_portfolio_cat' );
    $exclude = genesis_get_option( 'epik_portfolio_cat_exclude' ) ? explode(',', str_replace(' ', '', genesis_get_option( 'epik_portfolio_cat_exclude' ))) : '';

    $cf = genesis_get_custom_field( 'query_args' ); // Easter Egg
    $args = array( 'cat' => $include, 'category__not_in' => $exclude, 'showposts' => genesis_get_option( 'epik_portfolio_cat_num' ), 'paged' => $paged);
    $query_args = wp_parse_args($cf, $args);

    genesis_custom_loop( $query_args );
    }

    genesis();


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    June 6, 2013 at 8:00 am in reply to: Placing content above the code in .php #44304
    ᴅᴀᴠɪᴅ
    Member

    Hi, thanks for your help. Unfortunately it isn't putting the text where i wanted it though. It is putting it below the title of each of the images contained in the portfolio, not below the title in the actual page itself.

    In the page_portfolio.php there is

    // Adds Page Title and Content
    add_action( 'genesis_before_content', 'genesis_do_post_title' );
    add_action( 'genesis_before_content', 'genesis_do_post_content' );

    At the top, i would have thought this should pull up the title and the content of the page, and then pull the information from the other posts which make up the portfolio page. I have written content in the page but it never displays. I would ask Wes who designed Epik theme but every time I go to his website it never loads. I will keep looking anyway. Thanks for replying so quick btw.


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    June 6, 2013 at 7:30 am in reply to: Placing content above the code in .php #44293
    ᴅᴀᴠɪᴅ
    Member

    Sorry i have realised I am asking the wrong question. I am wanting to know how to change the page_portfolio.php so it shows the content of the page before actually creating the portfolio. The only thing it is taking from the actual page that I create in wordpress is the title. Then it goes off and creates a portfolio of images.

    I am guessing it would be something to do with 'entry-content'


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    May 4, 2013 at 1:00 pm in reply to: Problem with epik theme and chrome #39291
    ᴅᴀᴠɪᴅ
    Member

    Problem resolved, sorry for wasting 2minutes of anybodies time who read this 🙂

    I was looking at a cached page through chrome, which had some old errors,


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    May 4, 2013 at 12:50 pm in reply to: Problem with epik theme and chrome #39290
    ᴅᴀᴠɪᴅ
    Member

    ps on my other mac i have been having problems with chrome saying the "aw snap" error message every time I try to visit a website. To the point that it has become unusable. I'm not sure if this can be related in any way. I'm now on a different computer but at the same location.


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    May 1, 2013 at 3:17 am in reply to: Transparent Simple Social Icons? #38709
    ᴅᴀᴠɪᴅ
    Member

    Hi, I finally figured it out. It wasn't just the css code. After changing the css to transparent I also had to delete this code from the simple-social-icons.php

    background-color: ' . $instance['background_color'] . ' !important;

    i think this turns off the ability to change the colour in the widget menu and allows the css code to make it transparent. So for anybody wanting to do it, now you know 🙂

     


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    April 23, 2013 at 9:28 am in reply to: Transparent Simple Social Icons? #37153
    ᴅᴀᴠɪᴅ
    Member

    the website it is on is http://nomadspirit.net

    ah i didnt realise there was a css for the plugin also. Sorry, maybe I can have a play then once I have found the file. Firebug wasn't giving me a location to find the css i needed,


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    April 23, 2013 at 8:11 am in reply to: T + C's to designing and selling a child-theme #37122
    ᴅᴀᴠɪᴅ
    Member

    Thanks. I will look into it for sure! 🙂


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    April 23, 2013 at 8:04 am in reply to: Transparent Simple Social Icons? #37116
    ᴅᴀᴠɪᴅ
    Member

    My background is a textured image.. this is the problem. I can get the colour close but not exactly. I need it transparent really.


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    January 28, 2013 at 3:02 am in reply to: Two page speed + retina screen question #15533
    ᴅᴀᴠɪᴅ
    Member

    PS here is a link to a screen shot of Pingdom to show you what i mean. the yellow indicates waiting time. So, as you can see in the image, half of the whole loading time is just waiting time before even starting to download anything..

    http://nomadspirit.net/wp-content/uploads/2013/01/Screen-Shot-2013-01-28-at-4.01.46-PM.png

    I dont seem to find any info apart from forums telling people to contact their hosting, which I did. But they said it is not them.

    Again, thanks. Any help pointing me in the right direction would be much appreciated!


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    January 28, 2013 at 2:57 am in reply to: Two page speed + retina screen question #15532
    ᴅᴀᴠɪᴅ
    Member

    ps my site is nomadspirit.net if it helps with answering. thanks!


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

  • Author
    Posts
Viewing 20 posts - 301 through 320 (of 326 total)
← 1 2 3 … 15 16 17 →
« 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