- This topic has 17 replies, 5 voices, and was last updated 2 years, 11 months ago by
David.
-
AuthorPosts
-
March 22, 2023 at 9:29 am #2577176
Dan
Hi – how can I change the font size in the right sidebar. The text appears smaller in the part that says site ‘Barcelona Navigator is made possible thanks to our sponsors:’:
https://barcelonanavigator.com/
thx
March 22, 2023 at 9:49 am #2577219Leo
StaffCustomer SupportHi Dan,
The font-size is actually set to 24 (without a unit) in the HTML:
https://www.screencast.com/t/V2u57CFXwnImThis isn’t something the theme does or controls.
Let me know if this helps 🙂
March 23, 2023 at 1:22 am #2578235Dan
Hi – I just checked the font using whatfont and it says the font in the sidebar is 19 – that’s the problem – I want it to be 24 so it matches the other text on the page.
Any suggestions as to what I can do?
I tried using html for font size with 24 and it blew the font up to some massive size.
March 23, 2023 at 1:45 am #2578271Fernando Customer Support
Hi Dan,
Can you go to Appearance > Customize > Typography and add a rule for the Sidebar widget?
Example: https://share.getcloudapp.com/8Luqnoob
Set the Target element to Custom –
body .sidebar .widgetMarch 23, 2023 at 2:36 am #2578364Dan
I can’t find it – I go to Appearance > Customize > Typography > Widgets
and I don’t see the options you are referring to
March 23, 2023 at 6:37 am #2578683David
StaffCustomer SupportHi there,
the option Fernando refers to requires the Dynamic Typography to be active in GP:
https://docs.generatepress.com/article/dynamic-typography-overview/
Older sites have to be manually switched to the new system.
If you don’t want to switch then use some CSS:
.sidebar .widget p, .sidebar .widget a { font-size: 24px; }March 23, 2023 at 7:36 am #2578774Dan
Thanks David.
I tried adding that CSS and it almost worked, except that it did not change the font size for the final paragraph in the sidebar, you can see what I mean here:
https://barcelonanavigator.com/wp-content/uploads/2023/03/jj.png
March 23, 2023 at 9:39 am #2579086Ying
StaffCustomer SupportHi Dan,
Just checked your site, the last paragraph in the sidebar has changed its font size:
https://www.screencast.com/t/yb6xohybMake sure you’ve cleared your browser cache.
March 23, 2023 at 10:31 am #2579152Dan
Hi Ying, it looks different because I removed the CSS that David suggested
March 23, 2023 at 11:29 am #2579224Ying
StaffCustomer SupportThe text you are referring to is in a code block, why not add the
font-sizein its inline CSS along with the other styles?
https://www.screencast.com/t/RILX117zGMarch 23, 2023 at 12:13 pm #2579289Dan
how do you do that?
March 23, 2023 at 4:37 pm #2579517Ying
StaffCustomer SupportI edited the HTML in the developer tool, it does not change any actual things on your site.
It’s a code block, so you should be able to edit it as I did in appearance > widgets > right sidebar.
Let me know if you can’t edit it 🙂
March 24, 2023 at 12:51 am #2579870Dan
Hi Ying, when I go to appearance > widgets > right sidebar I don’t see any way of editing the code as you described
March 24, 2023 at 12:58 am #2579876Fernando Customer Support
It should be in the Block Settings. Can you provide admin login credentials so we can take a look?
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
March 24, 2023 at 2:13 am #2579973Dan
Hi Fernando – I don’t see any options to edit CSS in the Block Settings
I shared my admin login credentials in the private information area
Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.