• Hi people,

    Last week I decided to take down my portfolio that was aged a little and start over from the beginning.

    I have the theme ‘Avada’ installed, and when I try to adjust the theme to my desire (through ‘appearance’ > ‘theme options’) a weird glitch comes up that I cant seem to resolve. I am in the menu that seems to be called ‘Fusion’, I am not sure if this is a plugin or not. The menu has all sorts of option to adjust things to my desire, like ‘menu’, ‘colors’, ‘header’, ‘footer’, etc. But somehow some of these options only show me a blank page with only the adjustable sliders to change values visible, but the description and everything else is missing..

    This seems to be happening only on roughly half of the options, the other half work perfectly fine..

    I made a screenshot that show the problem, and one that shows how it should look like:

    View post on imgur.com

    How do I solve this?

    Thanks in advance.

    Max

Viewing 14 replies - 16 through 29 (of 29 total)
  • Hello, just refresh the page (delete cache) with ctrl+F5
    https://theme-fusion.com/forums/topic/theme-options-menu-section-not-displaying/

    I had this same problem and added this code to the bottom of the functions.php file in the child theme which I have activated and it solved the problem.

    add_action(‘admin_head’, ‘theme_fix’);

    function theme_fix() {
    echo ‘<style>
    .form-table span {
    width: auto !important;}
    input {display: block !important;}
    </style>’;}

    Finally! This solved my problem, thank you very much!!! Now I am really happy that it’s working again, I had this problem for more than a month.

    Thank you again 🙂

    I still have the problem after applying every single fix had posted here

    Michael-Jiang

    (@michaeljiang2018)

    Thank you for everybody.

    I have solved this problem.

    It is so easy but hard to think of this method.

    Like @manuomg says: clear your browser cache, refresh your website, it will be normal.

    I have the same problem with a greyed out screen.
    The hack of smccombs works well but my next problem is that I need that color picker so I have to figure out for a other solution.

    If you do not use a Child theme then you can still apply the hack, just make sure that the hack is made unkept with a theme up.

    I use Avada 4.0.3 because of reasons.
    I do not know yet whether the existing function is the same in the newer versions as well.

    Add the thick printed line of code to the already existing function in functions.php
    $ vim wp-content/themes/Avada/functions.php

    /**
    * Modify admin CSS
    */
    function avada_custom_admin_styles() {
    echo ‘<style type=”text/css”>.widget input { border-color: #DFDFDF !important; }</style>’;
    echo ‘<style type=”text/css”>.wp-color-result { display: none !important; }</style>’;
    }
    add_action( ‘admin_head’, ‘avada_custom_admin_styles’ );

    Hi there
    We are having the exact same problem.
    On Avada headers > sticky header and others, the page is just blank or flashes for a second. We tried all the codes everyone suggested adding but that also did nothing but wipe the site for us.

    • This reply was modified 5 years, 12 months ago by kevo83.

    Hey I’ve just sat all day trying all the fixes on this thread and am here to share what finally worked.

    Steps taken:
    Updated Avada and Browser
    Cleared Cache and hard refresh
    Tried all the code given on the thread for the functions.php
    – This last one simply gave a syntax error that broke the site (As I’ve seen some other people mentioned.

    Code given above by @stant-design:

    add_action(‘admin_head’, ‘theme_fix’);

    function theme_fix() {
    echo ‘<style>
    .form-table span {
    width: auto !important;}
    input {display: block !important;}
    </style>’;}

    This was giving the error. I noticed the little ‘ (‘ vs ’) sign looked a bit slanted so i replaced them all in the code and it solved the syntax error and fixed the issue I was having. Here with the code I’ve used in my functions.php for those who are seeing the same error. Hope it helps someone. Just paste their code in and replace all the ‘ signs.

    Thanks @stant-design for the fix 🙂

    Cheers.

    • This reply was modified 5 years, 10 months ago by tormenta234.
    • This reply was modified 5 years, 10 months ago by tormenta234.

    I had the same problem as described by the OP, and I’ve just solved it with the corrected code mentioned above by tormenta234:

    add_action(‘admin_head’, ‘theme_fix’);

    function theme_fix() {
    echo ‘<style>
    .form-table span {
    width: auto !important;}
    input {display: block !important;}
    </style>’;}

    I’ve inserted this code in the functions.php file just below <?php.

    It all works fine now. Thanks!

    Works just make sure the single apostrophe marks are correct after you paste (compare with the other apostrophe marks in your functions.php file).

    Thanks

    • This reply was modified 5 years, 7 months ago by dniu.
    • This reply was modified 5 years, 7 months ago by dniu. Reason: Better clarification
    • This reply was modified 5 years, 7 months ago by dniu.

    Hello everybody and thank you for solving this unpleasant problem.
    I have pasted the code in the function.php but it appear in all sites pages (on the top) this string:

    add_action(‘admin_head’, ‘Avada’); function Avada() { echo ”;}

    Does anyone know how I should replace the words in the apostrophes?

    In my experience it is no longer necessary to use this code if you’ve fully updated your avada.

    I’m using avada 5.7.2, and, I’ve removed the above mentioned code entirely after updating to version 5.7.1. And it works fine.

    Every tool remains fully visible and they can be used as far as I can tell from my system.

    So, it seems to me that avada fixed this problem some time earlier. But you have to update to the newest avada version including all the required plugings.

    Thank you for this fix! It can be improved slightly by adding more specificity to the CSS selector so that it only affects the Avada Theme options form and not the entire admin theme:

    /**
     * Resolves bug where Avada theme options are grayed out.
     * See: https://wordpress.org/support/topic/theme-options-show-weird-glitch-only-sliders-visible-in-option-menu/page/2/
     */
    add_action('admin_head', 'fix_avada_theme_options');
    function fix_avada_theme_options() {
      echo '<style>
    .fusionredux-main .form-table span {
        width: auto !important;}
    .fusionredux-main input {display: block !important;}
    </style>';
    }

    I modified a little the code.
    Try this one, it worked for me:

    add_action(‘admin_head’, ‘wp_color_result_disable’);
    function wp_color_result_disable() {
    echo ‘<style>
    .wp-color-result {
    display: none !important;
    }
    </style>’;
    }

Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘Theme options show weird glitch, only sliders visible in option menu’ is closed to new replies.