Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
277 views
in Q2A Core by

Now i'm working on a new theme, I want to hide the main heading section (page heading + favorite button) from question view page.

Q2A version: Latest

1 Answer

+2 votes
by

Q2A assigns the class qa-template-question to question pages (the question list gets the class qa-template-questions with a trailing "s"), so you could do something like this in your stylesheet:

.qa-template-question .qa-main-heading {
  display: none;
}

That should also hide the favorite button, which is nested in the heading <div>.

...