Forum Replies Created
-
AuthorPosts
-
AsephraMember
Hi there Victor,
Thank you again for your help. I realized that having 2 fonts in the Site Title doesn't appear correctly in different environments (it looked great on my desktop, but it got stripped on my laptop etc) so I made it into an image instead.
add_filter( 'genesis_seo_title', 'my_custom_title' ); function my_custom_title( $title ) { $title = '<img src="http://yoursalutations.com/wp-content/uploads/2018/01/Your-Salutations-logo-500x102.png">'; return $title; }
My new problem is that when on an actual mobile device, the image is TOO small but it looks fine when I toggle on Chrome Inspect and view under various devices.
Do you know why that is?
And how to adjust the image to make it bigger on mobile?
Is it still the Additional CSS using something along the lines of
@media only screen and (max-width: 640px) [enter missing HTML]
Thank you so much.
AsephraMemberHi Victor, thank you that worked great 🙂
I was able to get the 2 fonts in 1 site title via this:
$title = '<h1 class="site title"><span style="font-family: Allura; font-size: 30pt;">Your</span> <span style="font-family: Playfair Display;">SAL</span><span style="font-family: Allura; font-size: 30pt;">utations!</span></h1>';
Do you know how I can get that to appear on mobile as well?
Thank you so very much for your help thus far!
AsephraMemberHi there Victor,
I connected the site to an FTP (Filezilla)
And tried editing the functions.php by adding this to the very bottom:
add_filter( 'genesis_seo_title', 'my_custom_title' ); function my_custom_title( $title ) { $title = "<h1 class=“site title”>Your <span style="font-family: Playfair Display;">Sal</span>utations</h1>; return $title; }
And in the Edit CSS section, I kept this:
.site-title { font-family: 'Allura' !important; }
However, when I re-saved the Functions.php with the newly added snippet, the site "broke" and produced an error.
Do you know what I did wrong in the snippet?
Thanks!
AsephraMemberHi there Victor, thank you very much for your reply. I've disabled the Coming Soon page to reveal the site in progress.
Do you know what I can do, if there is no area to access the functions.php in my WordPress Dashboard?
Under Appearance, there is only Edit CSS. I don't see any "Theme Files" or "Theme Functions" to choose from.
-
AuthorPosts