• Hi,
    i really like your plugin.
    I’m using Customizr theme and my single question page style is broken.
    I know this is asked before, but i can’t figure out what is the right css class to put in functions.php. Can you check my link and tell me the right code to put in functions.php?
    Thank you.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author PickPlugins

    (@pickplugins)

    Thanks for your post.

    Please try following code

    add_action('qa_action_before_single_question', 'qa_action_before_single_question', 10);
    add_action('qa_action_after_single_question', 'qa_action_after_single_question', 10);
    
    function qa_action_before_single_question() {
      echo '<div class="container">';
    }
    
    function qa_action_after_single_question() {
      echo '</div>';
    }

    You can remove sidebar on single question page by adding following code

    
    remove_action( 'qa_action_single_question_sidebar', 'qa_action_single_question_sidebar_function', 10 );
    
    
    Thread Starter joonaskinnunen

    (@joonaskinnunen)

    Hi again and thanks for your answer.
    Unfortunately this code did not work for me. Sidebar removing code worked, but I would like to keep sidebar on it’s right position. I also noticed that login link is not working. It looks like there is extra quotation marks in link address. Can you help me with these issues?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Single question page’ is closed to new replies.