Okay
  Public Ticket #2069537
Layout Event Single Page
Closed

Comments

  •  3
    Alexander started the conversation

    Hi Guys,

    the HTML Editor for Single Pages is not working well. Bullet-Points are not shown, and other Formats as well. 

    What you can recommend to design a Single Page?

    I need a Update really to Layout Single Pages - i dont know how other Customers do - but i dont think they all Code PHP and CSS.

  •  877
    Zhivko replied

    Hi,

    Open your active theme functions.php file and at the bottom add:

    add_action('stec_single_wp_head', function() {
        add_filter('body_class', function($classes) {
            $classes[] = 'single-post';
            return $classes;
        });
    }); add_action('stec_single_edit_wp_head', function() {
        add_filter('body_class', function($classes) {
            $classes[] = 'single-post';
            return $classes;
        });
    });

    This code will add "single-post" class to the event's single page body classes which seems to be required by your theme css.


    Stachethemes Developer

  •  94
    Valentin replied

    About the editor, can you please give me wp admin to see what is happening. I believe there is a conflict between the theme and the plugin. It's not uncommon.

    Stachethemes Support
    My Time Zone is GMT+3


    Envato Profile | Facebook | Twitter | Newsletter | Rate & Review

  •   Alexander replied privately
  •  877
    Zhivko replied

    Hi,

    The filter I've sent you earlier was not in your theme functions.php file so I've put it for you and fixed the shop css issue.


    Stachethemes Developer

  •  3
    Alexander replied

    Hi Zhivko, 
    thanks a lot - didnt know where we put the Code than. Whatever thanks a lot, everything is perfect!