Where are Typography settings stored - Forum | JoomShaper
Solved SP Page Builder

Where are Typography settings stored

Asked by SPD 4 years ago Last activity 4 years ago

Hi,
I want to have the same font styles throught the website, in SP PB Add-ons and Joomla Content editors, so I was going to use a Custom.css file. My though was to create the H1-H6 styles I want using Template Settings > Typorgraphy and then copy those classes into a custom.css. Two questions

  1. Would that work
  2. Where are the SP PB Pro Typography Settings stored

This image shows the different between the SP PB H1-H6 and Joomla Content Editor
https://drive.google.com/file/d/1kO8qxiw5hVZvMTxaT_yN5rOPgXjKp9Ut/view?usp=sharing
Thank you

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
4 years ago · edited

Hi SPD,

About TinyMCE - Plugins: Editor - TinyMCE

  1. Template CSS Classes: OFF
  2. Custom CSS Classes: templates/shaper_helixultimate/css/custom.css
    foto_8502_2022.jpg

It will help if you customized all font design inside custom.css file. I mean H1-h6 etc.


About JCE editor it has option to use (also for preview) styles from your template.

Editor Global Configuration > Template CSS file - then it will use (template.css) of your Joomla! template
Or if you customized font design inside custom.css - then you should choose "Custom CSS Files" in select field, and put name as I did at below screenshot. You can even use two files with comma between.

foto_8501_2022.jpg


Above tips should help for most Textarea fields used in Articles, Modules and probably Text addon as well. Of course first you have to define apperance of H1-H6 inside custom.css - font-size, font-weight, font-family etc. Easy peasy.

20 more replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Please read the documentation of the Helix Ultimate typography section. I hope you will understand how it works exactly. Besides. The Page Builder doesn't have a global typography option. But, you can change your typography from your addon settings for the individual.

https://www.joomshaper.com/documentation/helix-framework/helix-ultimate-2/typography

-Thanks

SPD Asked this

Thanks, I had found and used the Typography section of Template Settings, my question was where is that information stored. I assume its a CSS somewhere or is it in the database?
I am asking becuase I want to make Global Font settings, I want H1 to be H1 however I display it on my site and therefore have decided to use a custom.css file.
I just wanted to know where they're stored so I can copy-paste from there into my custom.css
Cheers

SPD Asked this

Never mind (a Duh moment), just realised I could use Inspect in Chrome and find them and since they are showing in <style> in the page I assume they're being stored in the database somewhere

Sorry for the bother

Toufiq Senior Staff

I assume its a CSS somewhere or is it in the database?

CSS

SPD Asked this

Ah, since I had found it in the web page in the Header like so...
<style> h2{font-family: 'Noto Sans', sans-serif;font-weight: 700;text-decoration: none;}</style>
... that it was added as part of a process as opposed to being taken from a CSS file.

Again I know nothing about this stuff, just curious, which CSS file is it?

Toufiq Senior Staff

Will you please share an screenshot about your h2 area? Thanks

SPD Asked this

I have shared my site link below, if you check the <header></header> with Inspect or whatever, towards bottom are a series of <Style> tags which contain the setting from Typography. I verified this by changing H1 to waterfall

while I'm here just to check. Can I assume with this info that the CSS heirarchy would be
Joomla > Bootstrap > Helix > Custom.css > typography > Template Settings - Custom Code ?
Cheers

SPD Asked this

So, some confusion here. Original question was I wanted to know where the Typographical settings, from Template Settings, where stored.

I wanted that information so I could create a Custom.css and copy that information into it so that ALL my H1-H6 settings where the same, whether I used a SP PG Pro Page/Add-on/Default Joomla Article or Module, unless I overwrote them in the specific item.

So, if I may, let me get back to my original problem. What is the best solution for me to have ALL H1-H6 and Body typography settings the same throughout my whole website - unless I specifically overwrite them.
Thanks again for your help

Toufiq Senior Staff

If you set h1 to h6 from template manager then it will globally. But, if you use page builder any heading content then you have to assign your heading from the page builder settings which you need.

Log in to reply.