Button fep-message-toggle-all css gone when sidebar from view message is hidden


Home Forums Front End PM PRO Button fep-message-toggle-all css gone when sidebar from view message is hidden

This topic is: Resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26468
    Olivier Pages
    Participant

    Hi Shamim,

    I have an issue regarding the ‘fep-button- fep-message-toggle-all’ css after hiding the left columm on a view message page.

    First, I deactivated the Avatars on my site.

    Then the view message page looks like on the “test1” attached picture. Not so nice.

    So I prefer to get rid of the left columm which doesn’t look nice.
    To achieve this I added some code in my functions.php file, code that I found on this forum:

    add_filter( ‘fep_locate_template’, function( $template, $template_names ) {
    if ( in_array( ‘view-message.php’, $template_names ) ) {
    $template = fep_locate_template( ‘view-message-legacy.php’ );
    }
    return $template;
    }, 10, 2 );

    But this code is also destroying the ‘fep-button-fep-message-toggle-all’ which has now no border and colors anymore, css is gone on that button. See what it looks like ton “test2” attached picture.

    Question: How can I hide the left columm but keep the button on the right to toggle all messages as it was before?

    Thanks for your help

    Olivier

    Attachments:
    You must be logged in to view attached files.
    #26482
    shamim
    Keymaster

    Add following code in Front End PM PRO > Settings > Appearance > Custom CSS

    #fep-content-single-sidebar {
    	display: none;
    }
    
    #26484
    Olivier Pages
    Participant

    Thank you Shamim this works perfectly!

    I removed the first code.

    Thanks a lot!

    Olivier

Viewing 3 posts - 1 through 3 (of 3 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.