• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

when creatinng default skin package -> custom.css is blank

mikeeeeeeeeeeeeeee

New Pleskian
Hi all,

I'm trying to create a custom skin by editing some css components but when I follow the instructions at:
http://download1.parallels.com/Plesk/Doc/en-US/online/plesk-themes-guide/

when creating creating the default skin package it successfully completes, however, the custom.css is blank...

incidently, executing:
branding_theme -p -name default -destination <path/filename.zip>
vs
branding_theme -p -name default -vendor admin -destination <path/filename.zip>
creates a different package... also with a blank custom.css ...

can anyone please shed some light on this for me?

Thank you,
~Mike
 
a quick update... this is strange.. listed themes as 'Default' but it cannot be packaged...

[root@]# plesk bin server_pref -sl
Skins installed:
Default
[root@]# plesk bin branding_theme -p -name Default -vendor admin -destination /tmp/Default.zip
Skin with name Default was not found on filesystem.
exit status 3

I am using the Theme's extension? Possible conflict?

Any hints?
 
So close..... Default has to be default. Thus the full command:

user@computer:~# plesk bin branding_theme -p name default -destination /tmp/default.zip
 
Hello,
> when creating creating the default skin package it successfully completes, however, the custom.css is blank...
It is expected behavior that custom.css file located in this directory is empty in case you use Plesk 12.5 version.

Please find more details in or documentation:

http://docs.plesk.com/en-US/12.5/ad...using-custom-skins/modifying-the-files.70909/

But, if I understand you correctly, you use Plesk 12.0.18.
>
>[root@]# plesk bin server_pref -sl
>Skins installed:
>Default
>[root@]# plesk bin branding_theme -p -name Default -vendor admin -destination /tmp/Default.zip
>Skin with name Default was not found on filesystem.

We have tried to perform the action described in our documentation for Plesk 12.0.18:
http://download1.parallels.com/Plesk/Doc/en-US/online/plesk-themes-guide/

1. usr/local/psa/bin/branding_theme -p -name default -destination /tmp/theme.zip
2. unzip theme.zip file.
3. less css/custom.css - content is presented.

Please try to perform the steps above.
 
Hi Kate,
Thanks for the reply!

I am indeed using version 12.5... I should have specified.

The documentation link you provided definitely details version 12.5 specifics better than the 12.5 advanced administration guide that I used...

Through some head banging, I actually went to /usr/local/psa/admin/htdocs/theme/css and edited the main.css directly live... it worked great, though I have a feeling that this is a system controlled directory/file. So I'll be adding the content bits to the custom.css file of the packaged css 'package' and install that as directed.

Do you see an issue in editing main.css directly? Is this supported?

Incidentally, using 'inspect element' from Google chrome was indeed very helpful...

Cheers,
~M
 
Hello Mike,

We do not recommend to perform any changes directly in /usr/local/psa/admin/htdocs/theme/css files. We do not support such customization so it could be done on your own risk. I suggest you to follow instructions in the documentation provided above to avoid any issues with Plesk functionality.
 
@ Lev: I'll rework this and follow best practice, thanks for the help!

@ whytefyre: I did use "default" also and it does generate a package but the custom.css is blank also. This is, from what I understand above, default and expected behaviour for Plesk 12.5 ...?

Cheers all
 
Hello,
>>I did use "default" also and it does generate a package but the custom.css is blank also. This is, from what I understand above, default and expected behaviour for Plesk 12.5 ...?
You are right, it is expected behavior for 12.5 version.
 
Back
Top