mistycreates
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Sketch] Larger LogoYay! I found a solution that works, although it’s probably rather unconventional in using a CMS.
I copied Sketch’s header.php into my child theme. After that, I commented out the reference to Jetpack Site Logo,
<?php if ( function_exists( 'jetpack_the_site_logo' ) ) jetpack_the_site_logo(); ?>and hard-coded in the reference to the image from my Media Library. I also gave the image a class of
site-logo.:With Jetpack’s Site Logo feature, it is very frustrating to edit one’s CSS, and the changes not logically take effect. I’m just going to remove that Jetpack feature so that I can modify my logo the way I want. What I’ve also discovered was that my logo element was affected by Jetpack’s Photon, described here: https://jetpack.com/support/photon/. There is an
image_downsizefilter that was most likely affecting how that logo displayed. I have ticked that feature “off” in my WordPress dashboard.I also deleted the logo that was uploaded in the Customizr, since I won’t be using that means to display the graphic in my header.
The graphic is finally at a place where I can easily resize it as I want. As of the time of this post, I’m currently adding media queries at particular breaking points for the graphic and the accompanying navigation.
Forum: Themes and Templates
In reply to: [Sketch] Larger LogoHi Sarah,
I just discovered that the logo in my Media Library was originally sized 2356x754px! I actually resized it to a preferred 449x144px, and replaced the image in the Media Library.
What I’ve also done is added
.site-logo { max-width: 449px; }into my child theme’s css.
A function in my child’s function.php file has also been edited:
function sketch_child_featured() { add_image_size( 'sketch-featured', '449', '144' ); } add_action( 'after_setup_theme', 'sketch_child_featured', 11 );Somehow the logo is still scaling down to 300px wide in the header.
Forum: Plugins
In reply to: [Event Organiser] Reversing the chronological order in the Event ListThank you, Stephen.
I noticed this after placing this widget in a sidebar for testing. It wasn’t easily obvious to me, because the widget functions as part of a home page template in a purchased WordPress theme that I’m modifying.
I will have to contact the developer(s) of that theme so they can show me how to change the widget settings within their template.