Close

Account

Documentation

Forum

Menu

Module 3 display desc – Top on Mobile – Adding header on comment

  • Post count: 172
    winpeace
    April 16, 2018 at 6:21 am #30494

    1- “Module 3” on responsive only display title. How to display with short description responsive (mobile)?

    2- I add previous version Go To Top option for mobile how to add new update?

    3- How to add header on comment section like Header “Style 2” see picture please
    http://prntscr.com/j5pber

    Post count: 10736
    Adek
    April 16, 2018 at 2:11 pm #30538

    Hi winpeace,

    1. Try to use this CSS code below:

    2. Try to use this CSS code below:

    3. You need to edit this file /jnews/fragment/comments.php

    Thank you

    Post count: 172
    winpeace
    April 16, 2018 at 2:57 pm #30545

    1- I want to display excerpt with 20 limit character on responsive.
    3- What code I add?

    Thanks

    Post count: 2751
    Jegbagus
    April 16, 2018 at 5:41 pm #30568

    hi winpeace,

    1. it will follow how many text you put on desktop. so if you limit 20 word on desktop, then on mobile it will follow 20 word.
    3. to have something like that you will need to change the code also css.

    you can add this css :

    and on jnews > fragment > comment.php
    change code to

    Post count: 172
    winpeace
    April 16, 2018 at 5:52 pm #30570

    1- 🙂 I don tell.
    You write code display:none; Nothing display description on mobile

    2- and on jnews > fragment > comment.php
    Which code I change? I dont see line

    • This reply was modified 6 months, 1 week ago by  winpeace.
    Post count: 172
    winpeace
    April 17, 2018 at 11:08 pm #30667

    And additional to above 2 question – How to set background color yellow to inline related posts ?
    http://prntscr.com/j6h1fd

    • This reply was modified 6 months, 1 week ago by  winpeace.
    Post count: 10736
    Adek
    April 18, 2018 at 2:57 pm #30717

    Hi winpeace,

    1. Please change the code above to this one below:

    2. Find comment_form function on the 65 line.

    3. You can use this CSS code below:

    Thank you

    Post count: 172
    winpeace
    April 20, 2018 at 6:48 am #30828

    2- I use wpdiscuz comment form. Header code line I think this;
    <h3 id="wc-comment-header"><?php echo $form->getHeaderText(); ?></h3>

    How do we adapt the code above according to your code?

    Post count: 10736
    Adek
    April 23, 2018 at 1:13 pm #30952

    Try to use this code below:

    You may need to initialize $form variable to avoid an error message.

    Thank you

You must be logged in to reply to this topic.