Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CleanBlogGh
#26
Hi tempUser,

this looks very good now, thank you very much! Smile 

Now I have another question:
I need to use different fonts on my site than the original theme. And I use webfonts hosted on my own site, not via Google.

Do you know an easy way to change fonts without changing your original css file (too much)? Perhaps with a kind of child css file - which would survive theme updates in the future?

I know how to embed self-hosted font files and I know the planned sizes of the fonts. I just search for a non-invasive way to tell Getsimple not to use the original CSS file in the font question - or to override it or something like that.

In my old theme I changed the theme's style.css directly, which is always dangerous when the theme is updated.

Hypertexter
Reply
#27
(2017-09-21, 01:11:41)Hypertexter Wrote: Hi tempUser,

....

Now I have another question:
I need to use different fonts on my site than the original theme. And I use webfonts hosted on my own site, not via Google.

.....

Hypertexter

Hello, 

I upload a new version of theme.
Now you can insert custom CSS and custom JS (like analitics and co.)
How?

Custom css: the method is similar to what adds the contact-icons to the bottom of the site
  • the method is similar to adding social icons to the bottom of the site as described on this page link here
  • in this case the component to be added must be called "cbg-custom-css"
  • Inside the component enter the css code directly (see example below)
  • Once you insert the css, save the component. That's all!
[Image: custom_css_1.jpg]

Custom js: works exactly the same as the previous case
  • the method is similar to adding social icons to the bottom of the site as described on this page link here
  • in this case the component to be added must be called "cbg-custom-js"
  • Inside the component enter the JS code also entering the <script> tag (see example below)
  • Once you insert the js, save the component. That's all!
(example that includes the code for google analytics)
[Image: cusom_js_1.jpg]


I hope I have explained it correctly Smile
Reply
#28
Hi tempUser,

wow, using components seems to be a brilliant way to add css.  Idea

I will try that.
Thank you very much for all of your labours and ideas!

Hypertexter
Reply




Users browsing this thread: 1 Guest(s)
Free HDTV Channels Residential Solar Panels