Results 1 to 7 of 7

Thread: New Question for Vshare 2.9 Version

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default

    Hi,

    To set black theme as default, do the following.

    Open include/classes/Css.php file and find
    PHP Code:
    $css 'default'
    replace this line with
    PHP Code:
    $css 'black'
    Save file.

    Re-load your site after clearing the browser's cache and cookie.

  2. #2

    Default

    this not work in 3.1, how can i set the theme with black style in 3.1?

  3. #3

    Default

    In the 2.9 theme, the code is in this directory:

    /include/classes/css.php

    I would think it would be the same for 3.0 and above. Find the code that starts on line 22 in a code editor. It should look like this:

    Code:
     public static function validate($css)
        {
            $valid_css = array(
                'default', 'black'       );
    Change the 'default', 'black' to:

    Code:
    public static function validate($css)
        {
            $valid_css = array(
                'black', 'black'       );
    Both have to be set to black for you to use the black theme exclusively. If you don't change it to that, it'll keep reverting to the default, which is the white theme.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •