- This topic has 19 replies, 2 voices, and was last updated 6 years, 5 months ago by Skandha.
-
AuthorPosts
-
June 29, 2018 at 7:58 am #148613MarcoooooParticipant
Hello !
I’m trying to get two different fonts in my website (www.spff.ch) :
- title of the post, and title/name of the widgets (right column)
- general texts (menu included)
Is it a way to do this as simply as possible?
Thanks for your help!
June 30, 2018 at 12:48 am #148624SkandhaParticipant@marcooooo: The font family option is not available in the free version of the theme. I suggest you to upgrade to pro. You can also check out the additional-features available in pro version of the theme.
Alternately you can also use additional CSS Code to change fonts.
Let me know what you would like to do.
Kind Regards,
SkandhaJuly 2, 2018 at 2:31 am #148656MarcoooooParticipantHello Skandha,
I think more about an additional CCS code to change this: it’s the only thing I need to modifiy and my job on this website will be done.
The changement of the font must be applied on :
– the main font (all texts and menu bar) : Century Gothic (or similar)
– the title of the posts : Shadow into light
– the title of the widgets : Shadow into lightI’m quite sure a CSS could easily do the job…
Thanks for your help…
Regards,
Marc
July 2, 2018 at 5:30 am #148661SkandhaParticipant@marcooooo: Go to => Appearance => Customize => Additional CSS and the following CSS Code.
To change font of text and menu bar
.menu, .entry-content, .entry-summary { font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif; }
To use Shadows into light font first you will need to create a child theme. If you do not to how to create a chlild theme you can use Generate Child Theme plugin. Then download the Shadows into light font and paste the font files into your child theme folder in fonts folder. Also add the following CSS Code to style.css in your child theme folder.
@font-face { font-family: Shadows; src: url(fonts/ShadowsIntoLight.ttf); }
Go to => Appearance => Customize => Additional CSS and add the following CSS Code.
To change font of post titlearticle .entry-title, .widget-title { font-family:Shadows; }
Let me know if this works out.
Kind Regards,
SkandhaJuly 3, 2018 at 12:36 pm #148728MarcoooooParticipantHello Skandha,
That’s just perfect! I just made a little adaptation to got also the same font in the menu bar (possible to have it bigger?)…
Have a nice day!
Kind regards,
MarcJuly 4, 2018 at 12:36 am #148739SkandhaParticipant@marcooooo: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.
.menu li { font-size:17px; }
You can change the font-size according to your requirement.
Let me know if this works out.
Kind Regards,
SkandhaJuly 4, 2018 at 1:57 am #148740MarcoooooParticipantHello,
Looks pretty great! Thanks again…
Best regards, and have a nice day!
Marc
July 4, 2018 at 4:21 am #148746SkandhaParticipant@marcooooo: Glad I was able to help you out. Have a good day! 🙂
Kind Regards,
SkandhaJuly 4, 2018 at 4:30 pm #148791MarcoooooParticipantHello again,
Somebody notice the font in the widget is different as the main font. How can I correct this last point?
Thnaks and have a good evening…
Regards,
Marc
July 4, 2018 at 11:48 pm #148801SkandhaParticipant@marcooooo: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.
#secondary { font-family:didact; }
Let me know if this works out!
Kind Regards,
SkandhaJuly 5, 2018 at 2:37 am #148811MarcoooooParticipantIt works fine! Last but not least, is it also a way to change the font of the word “Menu” in the mobile view? The menu options are in the correct font, except this word…
Kind regards,
Marc
July 5, 2018 at 2:50 am #148812SkandhaParticipant@marcooooo: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.
.mobile-menu-text { font-family:Shadows; }
Let me know if this works out!
Kind Regards,
SkandhaJuly 5, 2018 at 2:55 am #148813MarcoooooParticipantWorks fine! I just increase the height and it’s now exactly what I want!
Thanks for you professionnalism and have a nice day!
Best regards,
Marc
July 5, 2018 at 3:07 am #148814SkandhaParticipant@marcooooo: Thank you for your appreciation. You too have a nice day! 🙂
Kind Regards,
SkandhaJuly 5, 2018 at 10:08 am #148875MarcoooooParticipantI just received an e-mail from a influent member of the spff…
Is it possible de reduce the space between the posts of the landing page?
As I guess they after that want to change the same detail on the widget part, can you also give me the code for this part?Many many thanks…
Marc
July 6, 2018 at 2:45 am #148894SkandhaParticipant@marcooooo: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.
article { margin-bottom:10px !important; }
You can change the margin according to your requirement.
Let me know if this works out!
Kind Regards,
SkandhaJuly 6, 2018 at 2:57 am #148896MarcoooooParticipantHi !
Regarding these spaces :
– vertical spaces (left margin – post – space – widget – right margin) : seems to be ok, maybe a little bit wider should be better
– horizontal spaces (menu bar – 1st post – space – 2nd post – space…) : under the menu bar, same remark as above, following spaces are too wideIs it a way to manage these spaces? I guess it’s something with the padding, but cannot find how to manage this…
I hope you can understand what I mean! Thanks a lot four your support in this last thing…
Best regards!
Marc
July 6, 2018 at 6:46 am #148906SkandhaParticipant@marcooooo: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.
/* Makin the page wider (Horizontal space) */#page { width:1288px; }
I think after this the site looks good.
Let me know if any changes need to be made.
Kind Regards,
SkandhaJuly 6, 2018 at 8:54 am #148921MarcoooooParticipantHello !
Thanks for all the tips and tricks! As they are not ready with the content and it’s holiday time, I put again the maintenance mode.
If I need some additional modification, I’ll write you a new message!
Have a good time and a beautiful summer!
July 9, 2018 at 12:24 am #149012SkandhaParticipant@marcooooo: Glad I was able to help you out. Let me know if you have anymore issues. Have a good day! 🙂
Kind Regards,
Skandha -
AuthorPosts
- The topic ‘Change the default fonts’ is closed to new replies.