Please add a cPanel theme

So there’s this GitHub that provides CPanel themes

A lot of hosting companies use this. I recommend the ‘dark’ theme.
:slight_smile:

There’s 2 ways to add it: the easy way or hard way:

Easy way: Go to your MOFH panel and go to ‘ads’ and in your ads page, add this code to any ad place. Make sure there’s no code there:

<link rel="stylesheet" type="text/css" href="https://vpt.cdn.wybenetwork.com/theme-name/icon_spritemap.css">
<link rel="stylesheet" type="text/css" href="https://vpt.cdn.wybenetwork.com/theme-name/styles.css">

Example:

<link rel="stylesheet" type="text/css" href="https://vpt.cdn.wybenetwork.com/Homebrew/icon_spritemap.css">
<link rel="stylesheet" type="text/css" href="https://vpt.cdn.wybenetwork.com/Homebrew/theme-name/styles.css">

Hard way:
Just upload the files and replace ‘mydomain.com’ with your domain:
example:

<link rel="stylesheet" type="text/css" href="https://infinityfree.net/Icy/icon_spritemap.css">
<link rel="stylesheet" type="text/css" href="https://infinityfree.net/Icy/styles.css">

:slight_smile:
IF should do this

Example of Dark Theme on cPanel

2 Likes

I would want a chose between dark and light, and not be forced to use dark.

2 Likes

I agree with @Greenreader9 here, I wouldn’t really be liked to be forced to use a certain theme to just the administrator’s liking. It’s best to just leave it classic paper lantern.

Or what would be even better is if a theme switcher was added.

VistaPanel-Customizations/theme-switcher at master · WybeNetwork/VistaPanel-Customizations (github.com)

This can be used for that. It uses cookies to set the theme preference and provide dropdown menu for theme selection.

2 Likes

So the Admin can add the Dark and Light themes or whatever themes they choose.

And the Theme Switcher that MAHOfficial sent
:slight_smile:

Dark and Light


images from the github

:slight_smile:
Please add this

I really don’t like loading third party hacks into the VistaPanel code. And especially just blindly including code from someone else’s website.

It’s already fragile enough as it is. If this was supposed to be possible, iFastNet would have brought back theming support.

It’s open-source and the code can be checked also can be used from your own host.

Agreed, that’s not officially supported but it is also not illegal as iFastNet does allow this the only thing they don’t allow is removing that domain search form from vPanel + upgrade to premium hosting button.

3 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.