- This topic has 9 replies, 2 voices, and was last updated 6 years, 4 months ago by Skandha.
-
AuthorPosts
-
July 20, 2018 at 5:29 pm #150025NicolasBassandParticipant
Hello,
I’m using the Catch Wheels theme to build my website. I have a problem with the fonts.
The automatic font for the titles (heading 1) is Rock Salt.
My settings are :
– font Tahoma for the content of my articles
– font Josefin Sans for all the titles
Unfortunately, when I click on my articles categories or articles themselves, the page title that appears is written is a weird stylish font that is never my Josefin Sans font nor the Rock Salt font. When I look at the Inspector to see the page code, it seems that the font is recognized at Rock Salt, but it’s not. In the Customization menu, if I try to change the font and use another one, none of them work, as if the font choice for the headings never takes effect.
Does someone has a solution?Thank you in advance for your help!
Nicolas
Note: I have the Catch Wheels Pro/Premium theme but I prefer posting my request here in the Free theme section so that anyone can access it.
July 22, 2018 at 5:38 am #150082SkandhaParticipant@nicolasbassand: There seems to be an issue with the font options. I will get back to you soon on this.
Kind Regards,
SkandhaJuly 23, 2018 at 7:14 am #150171SkandhaParticipant@nicolasbassand: I checked it again and the font seems to be changing. Can you please check again and let me know if the font are changing?
Kind Regards,
SkandhaJuly 23, 2018 at 7:44 pm #150209NicolasBassandParticipantHi Skandha,
Thank you for trying to solve my issue. Unfortunately, I tried changing and resetting the fonts several times, it doesn’t work. When I go to Customization > Theme Options > Font Family Options, no matter the fonts I try to use for the titles and the content, there are two elements for which the font never change:
– the title of the post pages and any regular pages;
– the body content.Best,
Nicolas
July 23, 2018 at 8:04 pm #150210NicolasBassandParticipantSkandha,
Please see for yourself a page example (article) from my website: http://trustandride.com/serie-le-bol-dor-2017-et-la-magie-de-lendurance-1-6
In my theme options, the fonts are still set as follows:
– Tahoma font for the body content
– Josefin Sans font for all the titlesAs you can see, the title of the page is not written with my font choice Josefin Sans, nor with the automatic Rock Salt font from the theme.
Also, for the body content, I was wrong in my previous response: I selected the Tahoma font and the body content is correctly written with the Tahoma font.
Best,
Nicolas
July 23, 2018 at 8:45 pm #150213NicolasBassandParticipantSkandha,
I finally managed to arrange the issue myself. I looked again at the code of my article pages, and I entered the additional CSS code in my theme:
h1, h2, h3, h4, h5, h6, .slider-content-wrapper .entry-title, .hero-content-wrapper .entry-title, .promotion-headline-wrapper .entry-title, .custom-header-content .entry-title, .footer-instagram .widget-title, .singular-content-wrap .entry-title {
font-family: Josefin Sans, sans serif;
}Somehow, despite the font family choice for Josefin Sans in the theme customization, the last line of code above still had Rock Salt as the font family choice.
Best,
Nicolas
July 24, 2018 at 1:01 am #150232SkandhaParticipant@nicolasbassand: I will contact you shortly by email!
Kind Regards,
SkandhaJuly 26, 2018 at 2:35 am #150358SkandhaParticipant@nicolasbassand: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.
/*To avoid title breaking to next line */ .entry-title { hyphens:none; }
To remove the space after the excerpt and …
Go to => Child Theme Folder => open functions.php and add the following code.function catch_wheels_custom_excerpt( $output ) { if ( has_excerpt() && ! is_attachment() ) { $more_tag_text = get_theme_mod( 'catch_wheels_excerpt_more_text', esc_html__( 'Continue reading', 'catch-wheels-pro' ) ); $link = sprintf( '<span class="more-button"><a href="%1$s" class="more-link">%2$s</a></span>', esc_url( get_permalink( get_the_ID() ) ), /* translators: %s: Name of current post */ wp_kses_data( $more_tag_text ). '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' ); $link = '… ' . $link; $output .= $link; } return $output; }
Please update me if the fonts are working or not.
Let me know if this works out!
Kind Regards,
SkandhaJuly 28, 2018 at 8:33 pm #150531NicolasBassandParticipantHi Skandha,
Thank you a lot for the additional help!
I managed to avoid the title break to next line with the additional CSS code provided. It works well. I also made sure there is no break to next line in the content of the articles by adding the following CSS code :
.entry-content {
hyphens:none;
}I also entered the code provided in the functions.php file: the removal of the space after the excerpt and before the “…” works well.
Best regards,
Nicolas
July 30, 2018 at 12:27 am #150581SkandhaParticipant@nicolasbassand: Glad I was able to help you out! Have a good day! 🙂
Kind Regards,
Skandha -
AuthorPosts
- The topic ‘Font for page titles is not the one I have chosen in my font options’ is closed to new replies.