Marco

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 48 total)
  • Author
    Posts
  • in reply to: Responsive secondary menu #110532

    Marco
    Participant
    Post count: 63

    1) replace the content of your responsive-menu.js with this:

    jQuery(function( $ ){
    
    	$(".nav-primary .genesis-nav-menu").addClass("responsive-menu").before('<div id="responsive-menu-icon"></div>');
    	$(".nav-secondary .genesis-nav-menu").addClass("responsive-menu").before('<div id="responsive-menu-icon"></div>');
    	$("#responsive-menu-icon").click(function(){
    		$(".nav-primary .genesis-nav-menu").slideToggle();
    		$(".nav-secondary .genesis-nav-menu").slideToggle();
    	});
    	
    	$(window).resize(function(){
    		if(window.innerWidth > 768) {
    			$(".nav-primary .genesis-nav-menu").removeAttr("style");
    			$(".nav-secondary .genesis-nav-menu").removeAttr("style");
    		}
    	});
    	
    });

    2) in style.css where is the media query: @media only screen and (max-width: 768px) look for .nav-primary .responsive-menu and replace the css with:

    	.nav-primary .responsive-menu, .nav-secondary .responsive-menu {
    		display: none;
    	}
    
    	.nav-primary #responsive-menu-icon, .nav-secondary #responsive-menu-icon {
    		display: block;
    		text-align: center;
    	}

    also comment the

    	.footer-widgets,
    /*	.nav-secondary,*/
    	.site-footer,
    	.site-header,
    	.site-inner {
    		padding-left: 5%;
    		padding-right: 5%;
    	}

    tested on localhost. Works flawlessly.


    • This reply was modified 1 month, 1 week ago by  Marco.
    • This reply was modified 1 month, 1 week ago by  Marco.
    in reply to: News Theme, how to make tabs auto scroll? #87830

    Marco
    Participant
    Post count: 63
    This reply has been marked as private.
    in reply to: Swapping theme fonts #76131

    Marco
    Participant
    Post count: 63

    Hello, if you mean the font weight on paragraphs you better change in body the weight to 300 ( now is 400).



    Marco
    Participant
    Post count: 63
    This reply has been marked as private.
    in reply to: AgentPress Property Searches #39413

    Marco
    Participant
    Post count: 63

    Not the best solution but you could try to style the .property-quick-search like that:

    [css]
    .property-quick-search
    {
    border: 5px solid #FFF;
    float: right;
    min-height: 260px;
    overflow: hidden;
    padding: 11px;
    width: 240px;
    position: relative;
    top: 11px;
    }
    [/css]


    in reply to: Conflicting CSS code #39410

    Marco
    Participant
    Post count: 63

    Ok, first of all there’s an error on line 876. The CSS property color #5555555 does not validate. It’s #555; or #555555;

    then, I don’t see any div called #bbp.

    Let’s try this.

    Just Paste this in place of the code you’ve done:
    [css]
    /*Buttons*/
    /*————————————————————*/
    INPUT[type="button"], INPUT[type="submit"]
    {
    /*[disabled]background-color:#650221;*/
    /*[disabled]color:#FFF;*/
    /*[disabled]cursor:pointer;*/
    /*[disabled]font-family:"century gothic";*/
    /*[disabled]font-size:12px;*/
    /*[disabled]font-weight:normal;*/
    /*[disabled]padding:4px 7px 4px;*/
    /*[disabled]text-decoration:none;*/
    /*[disabled]width:136px;*/
    /*[disabled]height:29px;*/
    }
    .home .formsubmit INPUT
    {
    background-color: initial;
    color: #FFF !important;
    cursor: pointer;
    font-family: "century gothic";
    font-size: 12px;
    font-weight: normal;
    padding: 4px 7px 4px;
    text-decoration: none;
    width: 136px;
    height: 29px;
    margin: 0;
    }
    #bbp_reply_submit, #bbp_topic_submit
    {
    /*[disabled]background-color:#650221;*/
    /*[disabled]color:#FFF;*/
    /*[disabled]cursor:pointer;*/
    /*[disabled]font-family:"century gothic";*/
    /*[disabled]font-size:12px;*/
    /*[disabled]font-weight:normal;*/
    /*[disabled]padding:4px 7px 4px;*/
    /*[disabled]text-decoration:none;*/
    /*[disabled]width:136px;*/
    /*[disabled]height:29px;*/
    }
    #bbp_reply_submit, #bbp_topic_submit
    {
    /*[disabled]background-color:#650221;*/
    /*[disabled]color:#FFF;*/
    /*[disabled]cursor:pointer;*/
    /*[disabled]font-family:"century gothic";*/
    /*[disabled]font-size:12px;*/
    /*[disabled]font-weight:normal;*/
    /*[disabled]padding:4px 7px 4px;*/
    /*[disabled]text-decoration:none;*/
    /*[disabled]width:136px;*/
    /*[disabled]height:29px;*/
    }
    #nav .searchsubmit
    {
    padding: 2px 7px 2px;
    }
    .reply A, .reply A:visited
    {
    padding: 0 4px;
    }
    #bbp_reply_submit:hover, #bbp_topic_submit:hover
    {
    background-color: transparent;
    border: 1px solid transparent;
    color: #FFF;
    text-decoration: none;
    width: 136px;
    height: 29px;
    }
    INPUT:hover[type="button"], INPUT:hover[type="submit"]
    {
    background-color: transparent;
    border: 1px solid transparent;
    color: #FFF;
    text-decoration: none;
    width: 136px;
    height: 29px;
    }
    [/css]

    and in the
    /*Miscellaneous Changes*/
    /*————————————————————-*/

    at the very end:
    [css]
    .wpcf7-form-control.wpcf7-submit
    {
    background-color: #650221;
    color: #FFF !important;
    cursor: pointer;
    font-family: "century gothic";
    font-size: 12px;
    font-weight: normal;
    padding: 4px 7px 4px;
    text-decoration: none;
    width: 136px;
    height: 29px;
    }
    .wpcf7-form-control.wpcf7-submit:hover
    {
    background: #4D1070;
    }
    INPUT[type="button"], INPUT[type="submit"]
    {
    /*[disabled]background-color:transparent;*/
    /*[disabled]border:none;*/
    }
    #bbp_reply_submit, #bbp_topic_submit
    {
    background-color: transparent;
    border: none;
    }
    [/css]

    I’ve commented something.

    Let me know if we’re on the right track.


    in reply to: Remove Posts from Homepage #39272

    Marco
    Participant
    Post count: 63

    Hello,
    just place 2 // before the `add_action( ‘genesis_loop’, ‘minimum_grid_loop_helper’ );`

    like` //add_action( ‘genesis_loop’, ‘minimum_grid_loop_helper’ );`

    You don’t have to remove the `remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );`.

    If you need to remove the sidebar, just add this before the genesis();

    `remove_action( ‘genesis_after_content’, ‘genesis_get_sidebar’ );`

    genesis();


    • This reply was modified 1 year, 2 months ago by  Marco.
    • This reply was modified 1 year, 2 months ago by  Marco.
    in reply to: Comment box (APEAK YOUR MIND ) Dissapears #39262

    Marco
    Participant
    Post count: 63

    In the dashboard look for Settings / Discussion. There check if in Other comment settings is checked the Users must be registered and logged in to comment . If so, just uncheck it.


    in reply to: Poor quality thumbnails #39250

    Marco
    Participant
    Post count: 63

    I’m quoting Jesse.
    For example the middle thumbnail is blurry even at full size…

    http://stanbos.nl/stanbos/wp-content/uploads/2013/05/stbos.jpg


    in reply to: Conflicting CSS code #39234

    Marco
    Participant
    Post count: 63

    Css line 1342.
    Should be background-color: transparent; and not background-color: #transparent;


    in reply to: Show Full Post When Only One Post Per Category #39212

    Marco
    Participant
    Post count: 63

    It works in any WordPress theme.


    in reply to: CSS not working on certain objects #39103

    Marco
    Participant
    Post count: 63

    Hello,

    in your .css you’re missing a } around line 983
    [css]
    .widget-headline {
    padding: 0 8px;
    padding: 0 0.5rem;

    /*
    07 Lists
    —————————————————————————————————- */
    [/css]

    Cheers.


    • This reply was modified 1 year, 2 months ago by  Marco.
    • This reply was modified 1 year, 2 months ago by  Marco.
    in reply to: Widget Title Bar color change #39102

    Marco
    Participant
    Post count: 63

    No, just erase the widget-header.png.
    #EEE is just a very light shade of gray.


    in reply to: Widget Title Bar color change #39089

    Marco
    Participant
    Post count: 63

    Css line 629 and below
    [css]
    #content #slider h2, #content #featured-bottom h2, #content #featured-top h2 {
    background: #EEEEEE url(images/widget-header.png);
    color: #FFFFFF;
    font-family: Trebuchet MS, Arial, Verdana;
    font-size: 12px;
    font-weight: bold;
    text-shadow: #055669 1px 1px;
    margin: 0;
    padding: 4px 5px 4px 10px;
    }
    [/css]
    You have to change
    [css]background: #EEEEEE url(images/widget-header.png);[/css]


    • This reply was modified 1 year, 2 months ago by  Marco.
    • This reply was modified 1 year, 2 months ago by  Marco.
    in reply to: Show Full Post When Only One Post Per Category #39045

    Marco
    Participant
    Post count: 63

    The code below may help you, just paste it in functions.php:

    `
    /** Redirect to single post page if there is one post in category/tag */

    add_action(‘template_redirect’, ‘child_redirect_to_post’);

    function child_redirect_to_post(){
    global $wp_query;

    // If there is one post on archive page
    if( is_archive() && $wp_query->post_count == 1 ){
    // Setup post data
    the_post();
    // Get permalink
    $post_url = get_permalink();
    // Redirect to post page
    wp_redirect( $post_url );
    }

    }`


    • This reply was modified 1 year, 2 months ago by  Marco.
    • This reply was modified 1 year, 2 months ago by  Marco.
    • This reply was modified 1 year, 2 months ago by  Marco.
    • This reply was modified 1 year, 2 months ago by  Marco.
Viewing 15 posts - 1 through 15 (of 48 total)