NetTalk Central

Author Topic: customt.css to modify a theme  (Read 4995 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1871
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
customt.css to modify a theme
« on: July 24, 2019, 05:40:23 AM »
Hi,
Trying to change the login backgroun of the base theme.
Using F12 I copy the nt-rounded class background css, see pic 2, and copy it into my customt.css which is in the themes folder and is added to the webserver styles files thems definition, see pic 1
but it does not work, what am I doing wrong?
« Last Edit: July 24, 2019, 05:42:38 AM by michelis »
-----------
Regards
Alberto

Jane

  • Sr. Member
  • ****
  • Posts: 371
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: customt.css to modify a theme
« Reply #1 on: July 24, 2019, 08:27:03 AM »
Is your web server set to debug on the Performance tab, Alberto?

If not, have you run copyall and gzipall ?

If you look at the page source for your web page, do you see the customt.CSS being linked in? 

Just some thoughts...

Jane


Alberto

  • Hero Member
  • *****
  • Posts: 1871
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: customt.css to modify a theme
« Reply #2 on: July 24, 2019, 11:38:18 AM »
Thanks Jane, lookin at the source code ... NT needs the customt.css inside each theme folder.
-----------
Regards
Alberto

Jane

  • Sr. Member
  • ****
  • Posts: 371
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: customt.css to modify a theme
« Reply #3 on: July 24, 2019, 11:52:43 AM »
Alberto,

You have two options for custom CSS files, as shown in your screen shot.

If you're modifying a theme, you would use the top box ("Theme Files"), specify one or more CSS files.  Then you could put a different CSS file (with the same filename) in each theme folder and tweak each theme individually.

If you just want something that applies to the website regardless of what theme you're using, then use the custom.css file in the bottom box in your screen shot.  That will live in the web/styles folder and will apply to all themes.

Jane