JohnnyvanM

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Problems in Epik v1.4? #14153
    JohnnyvanM
    Customer

      I tried again, but still the same problem. The sidebar is there in full-width, but when you go to tablet size the sidebar disappears to the bottom and there is a empty space on the side.

      in reply to: Can't remove featured image from posts? #14152
      JohnnyvanM
      Customer

        Thanks for the help Eric!

        I found out what the problem was: http://wpsites.net/web-design/prevent-genesis-2-0-archives-from-using-first-image-in-content-area-as-featured-image/

        By adding this code to functions.php de problem was solved:

        function remove_featured_image_archives( $post ) {
          if( !has_post_thumbnail() )
        		$post = '';
        	return $post;
        }
        add_filter( 'genesis_pre_get_image', 'remove_featured_image_archives', 10, 3 );
        in reply to: Can't remove featured image from posts? #14075
        JohnnyvanM
        Customer

          Thank you for your response.

          I have removed the code and then the image disappears from the blogpost, but not from the ‘content archives’ (http://www.test24.nl/blog/).

          When I put the code back, then the image is again in the blogpost.

          in reply to: Problems in Epik v1.4? #14053
          JohnnyvanM
          Customer

            Thanks for your help Eric.

            The frontpage looks good now. Only when I removed the code for the widget menu, the sidebar moves in responsive mode (tablet size). So the menu is good in reponsive mode, but the sidebar goes in responsive mode (tablet size) to the bottom instead of the sidebar.

            I removed this code:

            .content,
            	.site-header .widget-area {
            		width: 620px;
            	}

            So it does fix the menu to the right, but now the sidebar goes to the bottom in responsive mode (tablet size).

            Is it possible to fix that?

            in reply to: Can't remove featured image from posts? #14025
            JohnnyvanM
            Customer

              I did some more testing and I know exactly what the problem is now:

              I seems it doesn’t matter if the post is created before the functions.php code or is created after the functions.php code. The problem is that if I click on add a featured image in the settings and upload a foto from my computer, than I can’t remove it. I mean, I can remove it, but it is still on the website while it’s not more in the blogpost settings.

              If I use a photo that is already on my website, than I can remove it and it doens’t show anymore on my website.

              Is there a fix for that?

              in reply to: Change logo size and padding #11792
              JohnnyvanM
              Customer

                I have figured it out. I had to change the widget area padding:

                .header-image .site-header .widget-area {
                	padding: 40px 0;
                	padding: 1rem 0;
                }
                in reply to: Change logo size and padding #11790
                JohnnyvanM
                Customer

                  Hello,

                  Thanks for your response Eric.

                  This is the url where you can see the problem: bit.ly/1lc2SHv (copy and paste)

                  Normal the size of the logo is 360 x 164 px and when you upload the logo, the header automatically becomes 164px in height. Without logo the header is 77 px in height.

                  I want to make the logo smaller. So in Functions.php I changed it to:

                  // Add support for custom header
                  add_theme_support( 'genesis-custom-header', array(
                  	'width' => 300,
                  	'height' => 77
                  ) );

                  And it CSS I changed this:

                  .title-area {
                  	font-family: "Open Sans",sans-serif;
                  	font-weight: 700;
                  	float: left;
                  	padding: 0;
                  	padding: 0;
                  	width: 300px;
                  }

                  And this:

                  .header-image .site-title a {
                  	float: left;
                  	min-height: 77px;
                  	width: 100%;
                  }

                  As you can see om my website, the logo gets the correct size, but the header not. It’s 125 px instead of the 77px that I want.

                  Is there something else that I have to change?

                  in reply to: Change logo size and padding #11770
                  JohnnyvanM
                  Customer

                    Anyone who knows the anwser to this problem?

                  Viewing 8 posts - 1 through 8 (of 8 total)