Rooms Modules

Tagged: ,

(Viewing 1 reply thread)
    • #1590
      Mark Ateer
      Participant
      @mark
      Up
      0
      Down
      ::

      Is it possible to change the default title text in the Divi Comments Module? I want to have a different title, replacing ‘Submit a Comment’ with various text according to the category of post.

      I did find a plugin that could do this, but it doesn’t seem to play with Divi (Change Comment Form Title) and hasn’t been tested with last 3 versions of wordpress.

      I also found CSS that can universally change the title text, but I can’t vary on each category of post.

      I’m guessing I could give a class ID, but need a CSS expert to give me a steer with that, as I’ve tried several ways I thought might work and failed.

      Any thoughts from this community?

    • #1591
      Terry Hale
      Keymaster
      @mizagorn
      Up
      0
      Down
      ::

      The <article> tag will have the category within its classes. For example, <article class=”category-recent category-viewpoint”>, where “recent” and “viewpoint” are post categories.

      You can add specificity to your CSS by including the article class for each category before you change the text based on category.

      JavaScript for this is also an option.

      • This reply was modified 6 months, 1 week ago by Terry Hale.
(Viewing 1 reply thread)
  • You must be logged in to reply to this topic.