Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #3235952
How to fix custom css without FTP
Closed

Comments

  • micks80 started the conversation

    Hello,

    The theme is asking me to regenerate custom.css file and prompting for FTP server details but we do not have FTP on our site as we host Wordpress on Kubernetes cluster.

    Is there anyway to generate custom.css file directly on the server via SSH?

    Please help.


    Regards,

    Mick

  •  7,092
    Oliver replied

    Hi,

    Try to  click this button:

    https://prnt.sc/lxax6VV6xPxh

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • micks80 replied

    Hi Oliver,

    I click that button and then a dialog box comes up asking for FTP/SFTP credentials. I do not have FTP/SFTP. Anyway, I can create that file manually?

    I am using demo content, so do i really need that file? I don't want to use custom css for now.

    Regards,

    Mick

  •  7,092
    Oliver replied

    Hi,

    Without this file theme won't work. You need to put FTP access to the wp-config file, example:

    define('FTP_USER', 'username');
    define('FTP_PASS', 'password');
    define('FTP_HOST', 'ftp.example.org');
    define('FTP_SSL', true);
    

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • micks80 replied

    I do not have FTP access. I only have SSH access to the server.

    Anyway to manually create the file?

  •  7,092
    Oliver replied

    Hi,

    Sorry no, Try to add this one to the wp-config file:

    define('FS_METHOD','direct');
    

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •  7,092
    Oliver replied

    Or if you're using Ubuntu command: 

    sudo chown -R www-data:www-data PATH_TO_YOUR_WORDPRESS_FOLDER

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •  7,092

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver