sahdow

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 47 total)
  • Author
    Posts
  • in reply to: Streamline-Pro featured widgets #119086

    sahdow
    Participant
    Post count: 4

    Thanks, genrock but it doesn’t work, hence my reason for the post – see my original post

    in reply to: Streamline-Pro featured widgets #119030

    sahdow
    Participant
    Post count: 4

    Basically, want the featured widgets to display below the post content and sidebar (content_sidebar_wrap) and move it down immediately above the footer widgets.
    Screen shot example

    in reply to: Help with How to Remove a Date Block #12999

    sahdow
    Participant
    Post count: 4

    Find the following in post functions:

    /** Add post image above post title */
    add_action( ‘genesis_before_post_title’, ‘decor_post_image’ );
    function decor_post_image() {

    if ( is_page() ) return;

    if ( $image = genesis_get_image( ‘format=url&size=post-image’ ) ) {
    printf( ‘<a href=”%s” rel=”bookmark” class=”post-photo”><span class=”post-date”>%s</span><img src=”%s” alt=”%s” /></a>’, get_permalink(), do_shortcode( ‘<em>[post_date format="j"]</em>[post_date format="F Y"]‘ ), $image, the_title_attribute( ‘echo=0′ ) );
    }

    }

     

    Change to:

    /** Add post image above post title */
    add_action( ‘genesis_before_post_title’, ‘decor_post_image’ );
    function decor_post_image() {

    if ( is_page() ) return;

    if ( $image = genesis_get_image( ‘format=url&size=post-image’ ) ) {
    printf( ‘<a href=”%s” rel=”bookmark” class=”post-photo”><img src=”%s” alt=”%s” /></a>’, get_permalink(), $image, the_title_attribute( ‘echo=0′ ) );
    }

    }

    in reply to: Genesis Featured posts and internet explorer #8214

    sahdow
    Participant
    Post count: 4

    Did you import your content from another WordPress site, or are you using multi-site?

    in reply to: Slider help #6466

    sahdow
    Participant
    Post count: 4

    Also note the width of  “home-middle-1″ – you are placing a 900 px slider in a 285 px box

    in reply to: Widget help (CSS & Placement) #2801

    sahdow
    Participant
    Post count: 4

    I find it’s easiest to deal with one issue at a time. From what I can see (just glancing) you haven’t defined margins. Think of the margin as the container, but the padding as the space inside the container and how close to the walls.

    Start by centering your footer menu:

    Top left/right Bottom
    0        auto      0

    http://www.w3schools.com/css/css_margin.asp 

    Then look at your list items, set to display inline

    http://www.w3schools.com/css/css_list.asp

     

     

    • This reply was modified 1 year, 11 months ago by  sahdow.
    • This reply was modified 1 year, 11 months ago by  sahdow.

    sahdow
    Participant
    Post count: 4

    Page background makes top menu hard to read, perhaps add a background to the menu.

    • This reply was modified 1 year, 11 months ago by  sahdow.
    • This reply was modified 1 year, 11 months ago by  sahdow.
    in reply to: Help Styling a "Follow Buttons" Section #2755

    sahdow
    Participant
    Post count: 4

    Have you tried adding a float left to the images?

    something like ( I didn’t test):

    # nav li img {
    float: left;
    margin-right: 10px;
    }

    Also check the rss and twitter classes in your style sheet and you can use the #follow id associated with the list item the foloow information is in.

     

     

    in reply to: Creating Custom Pages #2752

    sahdow
    Participant
    Post count: 4

    I used a slider not long ago that allowed me to have more than one. Unfortunately can’t remember what it was called but a quick search found:

    Spider Slider
    Responsive Slider Mod

    in reply to: Creating Custom Pages #2646

    sahdow
    Participant
    Post count: 4

    I don’t want to step on any toes and I don’t want to get paid for something  like that either, but if you post exactly what you have so far on the page template and functions.php I’ll tweak it since (as far as I can tell – you basically have it).

    in reply to: Creating Custom Pages #2583

    sahdow
    Participant
    Post count: 4

    Sozo is right, I forgot it’s a page template, so there is a place to select the simple sidebars.

    As for my example, all the bolded items are what need to be changed.

    in reply to: Creating Custom Pages #2526

    sahdow
    Participant
    Post count: 4

    functions.php and you page can not use the same ids as the home page or it will load the widgets from the home page unless you use conditional logic.

    Re-read the top of my last post

    in reply to: Creating Custom Pages #2490

    sahdow
    Participant
    Post count: 4

    You can’t do that with the plugin (making an internal page that looks like the homepage). Sidebar is a term used by WordPress for all widgeted areas even if they are in the footer.

    Using the information on the page Sozu referenced, specifically “Register Your Sidebar” , the easiest way to do it is.

    Copy content of home into custom page template, copy widgetet areas from functions and paste into fucntions.

    Change the ID and Name in the “register your sidebar code” so it is unique;

    Easiest way would be to simply change id from home to page (ie page-slider, page-top, page-cta, page-middle)

    Note bolded areas – also, you will hoave to make any necessary CSS modifications once you get the widgets working

    /** Register widget areas **/
    genesis_register_sidebar( array(
    ‘id’ => ‘home-slider‘,
    ‘name’ => __( ‘Home – Slider’, ‘executive’ ),
    ‘description’ => __( ‘This is the slider section on the home page.’, ‘executive’ ),
    ) );
    genesis_register_sidebar( array(
    ‘id’ => ‘home-top‘,
    ‘name’ => __( ‘Home – Top’, ‘executive’ ),
    ‘description’ => __( ‘This is the top section of the home page.’, ‘executive’ ),
    ) );
    genesis_register_sidebar( array(
    ‘id’ => ‘home-cta‘,
    ‘name’ => __( ‘Home – Call To Action’, ‘executive’ ),
    ‘description’ => __( ‘This is the call to action section on the home page.’, ‘executive’ ),
    ) );
    genesis_register_sidebar( array(
    ‘id’ => ‘home-middle‘,
    ‘name’ => __( ‘Home – Middle’, ‘executive’ ),
    ‘description’ => __( ‘This is the middle section of the home page.’, ‘executive’ ),
    ) );

    change the id in the code of the custom page template to match the same changes.

    <!–?php /**
    * This file adds the custom template to the Executive Child Theme.
    *
    * @author StudioPress
    * @package Generate
    * @subpackage Customizations
    */

    /*
    Template Name: Custom
    */

    function executive_home_genesis_meta() {

    if ( is_active_sidebar( ‘home-slider‘ ) || is_active_sidebar( ‘home-top‘ ) || is_active_sidebar( ‘home-cta’ ) || is_active_sidebar( ‘home-middle‘ ) ) {

    remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );
    add_action( ‘genesis_loop’, ‘executive_home_sections’ );
    add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_full_width_content’ );
    add_filter( ‘body_class’, ‘executive_body_class’ );
    add_action( ‘genesis_after’, ‘executive_slider_excerpt_position’ );

    /** Add body class to home page **/
    function executive_body_class( $classes ) {
    $classes[] = ‘executive-home’;
    return $classes;
    }

    /** Moves the slider pager if the sidebars are active and the screen is wide enough */
    function executive_slider_excerpt_position() {
    ?>
    <script type=”text/javascript”>
    jQuery(document).ready(function() {
    if (jQuery(“.slide-excerpt”).length > 0) {
    jQuery(“.flex-control-nav”).addClass(“nav-pos-excerpt”);
    }
    });
    </script>
    <!–?php }
    }
    }

     

    function executive_home_sections() {

    if ( is_active_sidebar( ‘home-slider‘ ) || is_active_sidebar( ‘home-top‘ ) || is_active_sidebar( ‘home-cta‘ ) || is_active_sidebar( ‘home-middle‘ ) ) {

    genesis_widget_area( ‘home-slider’, array(
    ‘before’ => ‘<div class=”home-slider widget-area”>’,
    ) );

    genesis_widget_area( ‘home-top’, array(
    ‘before’ => ‘<div class=”home-top widget-area”>’,
    ) );

    genesis_widget_area( ‘home-cta’, array(
    ‘before’ => ‘<div class=”home-cta widget-area”>’,
    ) );

    genesis_widget_area( ‘home-middle’, array(
    ‘before’ => ‘<div class=”home-middle widget-area”>’,
    ) );

    }

    }

    genesis();

     

     

    • This reply was modified 1 year, 11 months ago by  sahdow.
    • This reply was modified 1 year, 11 months ago by  sahdow.
    in reply to: Genesis Featured posts and internet explorer #2222

    sahdow
    Participant
    Post count: 4

    Well based on what I saw, any OS using Ie ( Vista, Windows 7  &, Windows 8) looks good. It’s compatibility mode where the issues crop up.If you or the client need it to display better for IE 8 or older, focus on ie css that impacts margin and padding.

    • This reply was modified 1 year, 11 months ago by  sahdow.
    • This reply was modified 1 year, 11 months ago by  sahdow.
    in reply to: Slider help #2215

    sahdow
    Participant
    Post count: 4

    Depending on your theme, you can apply the slider based on it’ developer’s instructions.

    Based on what I viewed in the install instructions for the slider mentioned above, you can either edit home.php to add a new segment (ID) above the existing widgets and below the navigation or use the built in widgets of the theme’s home page in conjunction with php widget  and the plugins settings page.

     

    • This reply was modified 1 year, 11 months ago by  sahdow.
    • This reply was modified 1 year, 11 months ago by  sahdow.
Viewing 15 posts - 1 through 15 (of 47 total)