Skip to:
Content
Pages
Categories
Search
Top
Bottom

Style question differently from replies


  • phileas013
    Participant

    @phileas013

    I would like the questions to be displayed the same way that on this bbpress forum.
    I want them to look very different from replies.
    Thanks
    Phil

Viewing 13 replies - 1 through 13 (of 13 total)

  • Robin W
    Moderator

    @robin-w

    If you are into css, I suspect that you would not be asking, but it’s css help you need and I suspect that you need to hire someone, and give them a detailed brief.


    phileas013
    Participant

    @phileas013

    Actually, I am into css, but I have not been able to isolate the element question from the elements replies


    Robin W
    Moderator

    @robin-w

    ok, so can you give me an example of one you would like differently?


    phileas013
    Participant

    @phileas013

    On my website
    http://www.habitatparticipatif.eu/forums/topic/financement-des-espaces-communs-dans-montage-mixte/#post-3322

    The first post is the question and the second, the response.
    I would like to change the look of the question (maybe, font-size, italics …)


    Robin W
    Moderator

    @robin-w

    ok, so for the header you have

    #bbpress-forums div.bbp-reply-header
    #bbpress-forums div.bbp-topic-header

    and on content you have

    #bbpress-forums .bbp-topic-content,
    #bbpress-forums .bbp-reply-content

    You could also download my style plugin

    https://wordpress.org/plugins/bbp-style-pack/

    and either use that or look at the styles.php file in the css folder for styling css and use what you need.


    phileas013
    Participant

    @phileas013

    Thank you so much !


    Robin W
    Moderator

    @robin-w

    No problem ! Do come back if you need further help!


    phileas013
    Participant

    @phileas013

    Actually, I do !
    On this page : http://www.habitatparticipatif.eu/forums/topic/financement-des-espaces-communs-dans-montage-mixte/#post-3334

    Topic title : Financement des espaces communs dans montage mixte is the topic title.
    Below is the question about this topic.
    When I answer this question, it appears above the question and it does not look different (font size, font style …) than the question.

    I want the question to appear in a box and the answers to appear below

    Thanks again


    Robin W
    Moderator

    @robin-w

    ok, on font/style that link doesn’t have a reply – can you create one so that I can see the issue.

    on the topic/reply order – try this plugin – I haven’t used it but it seems to do what you want !

    https://wordpress.org/plugins/bbpress-sort-topic-replies/


    phileas013
    Participant

    @phileas013

    Thanks for the sorting topics plugin.

    I added replies to the topic.
    I do not understand why the line in blue with “créateur” and “sujet” appears above and below the main topic.
    I still do not find a way to add a border around the topic (and not the replies) or find a way to make it look different from the answers.

    Thanks again for your precious help
    Phil


    Robin W
    Moderator

    @robin-w

    I think you are now into custom web design !

    I’ll do the following for you, but now you are talking abut amending the tpoics plugin, of which I have no coding knowledge

    to get rid of the line below put this in your css

    .bbp-footer.last-child {
      display: none;
    }

    phileas013
    Participant

    @phileas013

    Thanks !
    Yes, I am using your plugin BBP pack Style. It is a great tool.


    Robkk
    Moderator

    @robkk

    @phileas013

    I would like the questions to be displayed the same way that on this bbpress forum.

    On these forums the developer removed the content holding the labels and also moved the post date and id number in a different area.

    Robin linked you to a plugin that enables you to show the lead topic, which this site does, so you have that. If you do not want to use the plugin, or you are really just using it to just show the lead topic, you can also use this custom php snippet that is on this site.

    https://codex.bbpress.org/bbp_show_lead_topic/

    I still do not find a way to add a border around the topic (and not the replies) or find a way to make it look different from the answers.

    You can try some custom CSS like this. It won’t look as good as this site because of how its designed as I stated above.

    .single-topic .topic {
      border: 2px solid black;
    }

    I do not understand why the line in blue with “créateur” and “sujet” appears above and below the main topic.

    Thats normal, its how the lead topic is supposed to be displayed by default.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.
Skip to toolbar