Theme Options not working

Support Forums Cian – WP Theme Theme Options not working

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4775
    Reed
    Participant

    When trying to open up the Appearance –> Theme Options, a page loads mostly blank except for “Site Color Scheme” and “Cookies Message” showing up in blue. I’ve tried deactivating all plug-ins with no success. Theme Options used to work originally. We’re running on Godaddy Web Hosting. Any ideas?

    #4777
    CreaboxThemes
    Keymaster

    Hi,

    Sorry for the delay. I don’t know why it happens.

    If you want, you can create a new user to me in your admin panel. In that way, I can check the error on site. I have done this with other users and there were no problems. You can trust me. I only want to fix this problem. You can send me the information to my email admin@creabox.es

    Regards

    #4782
    Reed
    Participant

    I will give you access to our site to look into the issue. However, in case anybody else experiences a similar problem here’s the Apache/PHP generated error we see in our logs:
    PHP Warning: Invalid argument supplied for foreach() in /wp-content/themes/cian/sections/portfolio.php on line 102

    #4784
    CreaboxThemes
    Keymaster

    Hi,

    I have fixed the problem. It was a css conflict.

    Regards

    #4787
    Reed
    Participant

    Would it be possible to explain why the CSS conflict occurred and how we can avoid in the future?

    #4789
    CreaboxThemes
    Keymaster

    Hi,

    I really don’t know why it happened. It’s the first time I find this kind of problem. The solution has been to add a css style to remove that div. Maybe that div is added by the WP Engine styles, I don’t know.

    The code I have added to the file functions.php is the next:

    add_action('admin_head', 'my_custom_css');
    
    function my_custom_css() {
      echo '<style>
        .vp-wrap .vp-upload .field .image { display: none } 
      </style>';
    }

    Regards

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.