• 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

cyanoorange

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 - 1 through 20 (of 25 total)
1 2 →
  • Author
    Posts
  • April 27, 2016 at 4:16 am in reply to: Workstation Pro Theme svg Logo in Header #184500
    cyanoorange
    Participant

    Dear Victor,
    thanks a lot!
    I was kind of stupid :/ . Sorry for that. I tried the wrong css statement. Now its working with this, just for anybody who has a dumb day too.

    First step in functions.php
    (to upload svg in the mediacenter)

    add_filter( 'upload_mimes', 'svg_upload_mediathek' );
    function svg_upload_mediathek ( $svg_mime ){
     $svg_mime['svg'] = 'image/svg+xml';
     return $svg_mime;
    }

    style.css in workstation Por Theme

    .header-image .site-title a {
        background: rgba(0, 0, 0, 0) url("http://127.0.0.1/test/wp-content/uploads/2016/04/mylogo.svg") no-repeat scroll 0 0 !important;
    }
    April 26, 2016 at 9:43 am in reply to: Workstation Pro Theme svg Logo in Header #184452
    cyanoorange
    Participant

    Hi Victor,
    thanks for answering. No this doesnt work. I have the svg in the media library but if I add the loge in the Cutomize Area I get an error with the cropping screen.

    February 17, 2016 at 6:45 am in reply to: accessibility mobile menu (keyboard) #179232
    cyanoorange
    Participant

    Thanks, I will check it out!

    February 13, 2016 at 2:12 pm in reply to: Unexplained White Bar #178984
    cyanoorange
    Participant

    Perhaps this helps: https://wpbeaches.com/remove-archive-description-title-from-blog-page-in-genesis/

    February 13, 2016 at 2:02 pm in reply to: posts sorted with custom fields – pagination and infinite scroll #178983
    cyanoorange
    Participant

    I opened a more structured threat to solve the problem and it looks like, that I have found the answer ...
    http://www.studiopress.community/topic/posts-sorted-with-custom-fields-pagination-problem/


    @admin
    : you can delete this threat, if its to confusing this was. thanx.

    February 13, 2016 at 5:51 am in reply to: posts sorted with custom fields – pagination problem #178955
    cyanoorange
    Participant

    I found a solution - the "custom-loop-hint" was important. Thanks for that.
    My solution now is to change the whole loop. But I have the feeling, that this might be not a "best-way-to-do-it" solution. My script now makes the following things possible: Sort post with custom field, sort them via click ASC and DSCN, showing pages.
    Would be great if anybody could give me feedback.
    Here is the important part of the functions.php

    remove_action( 'genesis_loop', 'genesis_do_loop' );
    remove_action( 'genesis_loop', 'prefix_do_loop' );
    add_action('genesis_loop','sortierung_Kosmo');
    function sortierung_Kosmo(){
        /*checkt ob es per Klick auf link eine Aktion gab*/
          $aktion = filter_input(INPUT_GET, 'aktion', FILTER_SANITIZE_STRING);
           /*alte posts zuerst*/
     if($aktion!=2 && is_home()){
        $paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1;
        $args = array(
          'paged'           => $paged,
          'posts_per_page'  => 5,
          'meta_key'        => 'kosmo_sortier_nr',
    //      'meta_compare'    => '<=', 
          'meta_value_nr'   => '', 
          'orderby'         => 'meta_value',
          'order'           => 'ASC'
        );
        
        genesis_custom_loop( $args ); 
     /*neue posts zuerst*/
          }else if($aktion==2 && is_home()){
              $paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1;
        $args = array(
          'paged'           => $paged,
          'posts_per_page'  => 5,
          'meta_key'        => 'kosmo_sortier_nr',
          'meta_value_nr'   => '', 
          'orderby'         => 'meta_value',
          'order'           => 'DSCN'
        );
        
        genesis_custom_loop( $args ); 
          }else{
          if ( is_page_template( 'page_blog.php' ) ) {
    
    		$include = genesis_get_option( 'blog_cat' );
    		$exclude = genesis_get_option( 'blog_cat_exclude' ) ? explode( ',', str_replace( ' ', '', genesis_get_option( 'blog_cat_exclude' ) ) ) : '';
    		$paged   = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1;
    
    		//* Easter Egg
    		$query_args = wp_parse_args(
    			genesis_get_custom_field( 'query_args' ),
    			array(
    				'cat'              => $include,
    				'category__not_in' => $exclude,
    				'showposts'        => genesis_get_option( 'blog_cat_num' ),
    				'paged'            => $paged,
    			)
    		);
    
    		genesis_custom_loop( $query_args );
    	} else {
    		genesis_standard_loop();
    	}
          }
            }
    
    February 12, 2016 at 10:55 am in reply to: posts sorted with custom fields – pagination problem #178905
    cyanoorange
    Participant

    First of all: thanks for trying to help. I changed the code, but it doesnt work. You can see the result right now on the site.
    Would be great, if you would have another idea.

    February 1, 2016 at 9:33 am in reply to: posts sorted with custom fields – pagination and infinite scroll #178060
    cyanoorange
    Participant

    PS: This site works with the genesis-sample theme and wp- Version 4.4.1

    July 3, 2015 at 2:13 pm in reply to: Daily dish menu accessibility via keyboard #158306
    cyanoorange
    Participant

    Hello Dave,
    thanks for your time and effort.
    If there woudnt be a mouse, I could totally live with the solution of the plugin. But, with the mouse in use, its quite awfull.
    Thanks for your thoughts - right now, I have not the right idear, but I will try to figure it out. Its too close, because the plugin-mechanism works really fine with the keyboard, I just have to find a way to explain when to change the left-property.

    July 3, 2015 at 7:34 am in reply to: Daily dish menu accessibility via keyboard #158283
    cyanoorange
    Participant

    My next idear. I tried to find the code for the tab-navigation in the genesis-dropdown plugin.
    Now i know what causes the problem.
    There are two files which are important. The js and the css-file.

    .menu .menu-item:focus {
    	position: static;
    }
    
    .menu .menu-item > a:focus + ul.sub-menu,
    .menu .menu-item.wpacc-hover > ul.sub-menu
     {
    left: auto;
    	opacity: 1;
    }

    The left:auto, causes the problems, with the rollover navigation via mouse. There you need to have left:50%.

    I think the easiest way could be, that you can distinct between tab and mouse- so the left-property only changes if you really use the tab-key.

    The js. file does the following:

    ( function($) { 
    
    	$('.menu li').hover(
    		function(){$(this).addClass("wpacc-hover");},
    		function(){$(this).delay('250').removeClass("wpacc-hover");}
    	);
    	
        	$('.menu li a').on('focus blur',
        		function(){$(this).parents(".menu-item").toggleClass("wpacc-hover");}
        	);
    	
    	}
    	
    	(jQuery)
    	
    );
    

    Right now, I havent found the solution, how to adapt it. Anybody an idea? Would be great.

    July 3, 2015 at 1:23 am in reply to: Daily dish menu accessibility via keyboard #158261
    cyanoorange
    Participant

    Hallo,
    I have tried this, how I said in my first post:

    Genesis Accessible Dropdown Menu Plugin-> it shows the submenus but the whole navigation gets replaced in a bad way

    Means: all subemenu elements are shifted to the left.

    Thanks fürs mitüberlegen
    Nicole

    July 2, 2015 at 6:04 am in reply to: Daily dish menu accessibility via keyboard #158134
    cyanoorange
    Participant

    Now I tried the WP Accessible Plugin, but it has no effect to the navigation via keyboard with the daily dish menu 🙁

    July 1, 2015 at 11:50 am in reply to: Daily dish menu accessibility via keyboard #158068
    cyanoorange
    Participant

    Sorry Dave,
    I was too fast. Now I understand. I try the other plugin and see what happens.
    Nicole

    July 1, 2015 at 11:46 am in reply to: Daily dish menu accessibility via keyboard #158067
    cyanoorange
    Participant

    Hi Dave,
    yes - this is the one I have tried -> Genesis Accessible.
    And it shows all the effects I described above.
    Nicole

    July 1, 2015 at 11:28 am in reply to: Daily dish menu accessibility via keyboard #158063
    cyanoorange
    Participant

    Hallo Dave,
    thanks for your quick response. But like I wrote, I tried the Genesis Accessible Plugin and it doesent work with this navigation. In some browsers e.g firefox the behaviour is like my description in the first post. In other browsers e.g. IE the submenu ist not on the right place (not only when using the keys but when using the mouse too).
    Grüße
    Nicole

    May 11, 2015 at 1:38 am in reply to: saving the current url by clicking the comment link #151654
    cyanoorange
    Participant

    Hi Ginger,
    its still something I am trying to solve, but right now I cant give a link, because this site is not online right now (just on a local server).
    Just to try it in other words:
    I would like to have a back button on my comments site, which should bring the user back to the place where he was before he was entering the comments section. Therefore its not enough to make a normal "back button", because if the user has entered a comment on the comment site (and was not only reading the comments) the site history changes and the back button would send you to the comment site again, cause that was the last refreshment.
    Thats why I need to "remember" where the user came from. Means, when they click at the "go to comments" - Button, it woud be great to save the sites url and to call it, if the user wants to get back.

    But you are right, I should ask the question again, when I can show what I mean.

    April 18, 2015 at 2:47 am in reply to: Adjusting Image Size #148308
    cyanoorange
    Participant

    You insert your images with a mediaslider. Different possibilities to solve the problem:
    You specify the size of the images in the slideshow settings
    If you just want to show one image, you can insert it from the mediathek as a image and specifiy the size.
    You can modify css, with a specifc width instead of 100%:
    .fusion-flexslider .slides img{
    width: 300px
    }
    If you do this, all slideshow images appear in this size. If you would like to have different sizes you have to be more specific in css or use the methods I mentioned before. If you just make the images smaller with css, the user has to load the big image sizes - for mobile devices its not good

    April 17, 2015 at 5:35 am in reply to: breadcrumbs hierachy change #148216
    cyanoorange
    Participant

    Uhuhuuu ... delete the whole thing.
    I forgot to define the hierachy in the page settings - only changed the menu settings.
    Sorry ... I think its time for me to take a break and get my brain a little oxygen ... arrrgh

    April 17, 2015 at 4:59 am in reply to: breadcrumbs hierachy change #148213
    cyanoorange
    Participant

    just to explain it a little bit better:
    menu hierachie

    Home
    -- Parent
    ---- Child 1
    ---- Child 2

    If I click on "Child 1" the following breadcrump appears:
    Home / Child 1
    But I want to see:
    Home /Parent /Child 1
    How do I get this?
    Would be great if someone would have an idea

    March 28, 2015 at 7:50 am in reply to: Daily Dish Pro Triangle on Sub Nav Menu #145937
    cyanoorange
    Participant

    Great, that it worked for you. Right now the page I am working on is just locally installed. I can post it, if its online.
    Best wishes

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 25 total)
1 2 →

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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