fatmaasirafy
asked 6 years ago

I have many problems:
1- I need to remove the Ask Question button, as I wanted to have one page for the question for also showing all other questions. (http://www.fatmaalsirafy.com/questions-answers/)
2- The single question page is showing the side bar without any margins on padding on the right/left. (http://www.fatmaalsirafy.com/question/ads/)
3- I need to remove the tag input.
4- I read that I am not yet able to create a custom sidebar to the single question page, so in this case, I would like to remove the sidebar and I want the single question page to be in full width.
 
I need someone to tell me how exactly I should insert the codes, because I’m not familiar at all with php. I would appreciate if the instructions are with steps.

1 Answers
DominicStaff
answered 6 years ago

1/ Add the following code to the style.css file:

.dwqa-questions-footer .dwqa-ask-question { display: none; }

2/ Please add the following code to the style.css file:

body.single-dwqa-question .mkdf-content .mkdf-content-inner>.mkdf-full-width>.mkdf-full-width-inner {
     padding: 64px 300px;
}

3/ To resolve this issue, you can create a folder in the theme folder with the name \”dwqa-templates\” then copy the question-submit-form.php file in the plugins/dw-quesiton-answer-pro/templates/styles/default folder
and paste into the dwqa-template folder.
Then open this file find the line 57 to remove it.
4/ You can add the following code to the style.css file

body.single-dwqa-question .mkdf-content .mkdf-content-inner>.mkdf-full-width>.mkdf-full-width-inner .mkdf-column1{
   width: 100%;
}

body.single-dwqa-question .mkdf-content .mkdf-content-inner>.mkdf-full-width>.mkdf-full-width-inner .mkdf-column2 {
    display: none;
}
Powered by DW Question & Answer Pro