New Landing How can we help? Cardinal Blog Page Issue

Viewing 15 posts - 1 through 15 (of 26 total)
  • Posted in: Cardinal
  • #113388
    benjiphig
    Member
    Post count: 41

    I’m using the standard setting for my blog.

    I’m uploading a 2000px wide image to be used as the blog thumbnail. However it seems that for some reason this is being resized to 970px wide, and then re-upscaled to 1140px to fit the width of the blog. This makes the images an incredibly poor res.

    Any idea why this is going on and how to fix this?

    #113605
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You’re using version 1.01, we’re now up to 1.8. Please update

    – Kyle

    #113629
    benjiphig
    Member
    Post count: 41

    Thanks.

    All updated.

    One thing I want to do though is increase the width of the post to around 1000px

    How can I do this?

    #113630
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Make sure you haven’t selected the page as your ‘Posts Page’ in Settings > Reading as that will force the page to display the archive layout

    – Kyle

    #113644
    benjiphig
    Member
    Post count: 41

    Thanks. Realised my error but cheers for letting me know.

    The weird upscaling issue still seems to happening though!

    #113645
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    #113647
    benjiphig
    Member
    Post count: 41

    The weird upscaling issue is still happeing though!

    #113657
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok, you need to be using a child theme, then add this to your functions.php file:

    /* POST THUMBNAIL
    	================================================== */
    	if (!function_exists('sf_post_thumbnail')) { 
    		function sf_post_thumbnail($blog_type = "", $fullwidth = "no") {
    			
    			global $post, $sf_sidebar_config;
    			
    			$thumb_width = $thumb_height = $video_height = $gallery_size =  $item_figure = '';
    				
    			if ($blog_type == "mini") {
    				if ($sf_sidebar_config == "no-sidebars") {
    				$thumb_width = 446;
    				$thumb_height = NULL;
    				$video_height = 335;
    				} else {
    				$thumb_width = 370;
    				$thumb_height = NULL;
    				$video_height = 260;
    				}
    				$gallery_size = 'thumb-image';
    			} else if ($blog_type == "masonry") {
    				if ($sf_sidebar_config == "both-sidebars" || $fullwidth == "yes") {
    				$item_class = "col-sm-3";
    				} else {
    				$item_class = "col-sm-4";
    				}
    				$thumb_width = 480;
    				$thumb_height = NULL;
    				$video_height = 360;
    				$gallery_size = 'thumb-image';
    			} else {
    				$thumb_width = 970;
    				$thumb_height = NULL;
    				$video_height = 728;
    				$gallery_size = 'blog-image';
    			}

    And change the bottom ‘970’ width

    – Kyle

    #113728
    benjiphig
    Member
    Post count: 41

    Thanks Kyle.

    What would I need to actually make the content of the post page wider too?

    #113729
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this to your custom css:

    .content-wrap.col-sm-8.col-sm-offset-2 {
      margin-left: 0;
      width: 100%;
    }

    – Kyle

    #113734
    benjiphig
    Member
    Post count: 41

    Hero. Thanks dude.

    #113740
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    – Kyle

    #114172
    benjiphig
    Member
    Post count: 41

    Hey Kyle,

    Child theme installed. Deleted everything in the functions.php file and added the code you mentioned, but getting a syntax error.

    “Parse error: syntax error, unexpected $end in /home/boycalle/public_html/cardinal/wp-content/themes/cardinal-child/functions.php on line 77”

    Can you help please?

    #114854
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Will check this for you now

    #114855
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Please add one more ‘}’ at the end. Looks like I missed it off

    – Kyle

Viewing 15 posts - 1 through 15 (of 26 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register