• Resolved njn04

    (@njn04)


    Proposal for cosmetic retouching to facilitate use on smartphones.
    The spacing of the alphabetical selection keys is too small and on a smartphone with large fingers …
    Google analytics is not happy!
    Proposal for minimal modification: larger letters and with space between them.
    in shortcode.php
    /* ligne 283: echo ' <a class="name_directory_startswith ' . $extra_classes . '" href="' . $letter_url . urlencode($index_letter) . $jump_location . '">' . strtoupper($index_letter). '</a> ';*/
    replace with
    echo '<strong> <a class="name_directory_startswith ' . $extra_classes . '" href="' . $letter_url . urlencode($index_letter) . $jump_location . '">' .'&nbsp;'. strtoupper($index_letter).'&nbsp;'.'</a> </strong>';

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi @njn04

    thank you for reporting!

    Your modification is nice, but it’s something you can do with CSS too, so it doesn’t have to be enforced on other websites. Maybe I can take this into account in my CSS file.

    The CSS code that you can use to also get the same effect is this one:

    
    .name_directory_startswith {
        padding: 0 2px;
        font-weight: bold;
    }
    

    And if you want the “all” link to be not bold, you can do this as an extra line:

    
    .name_directory_startswith:first-child {
        font-weight: normal !important;
    }
    

    Is this something that works for you?

    Kind regards,

    Jeroen Peters

    • This reply was modified 4 years, 8 months ago by Jeroen Peters.
    Thread Starter njn04

    (@njn04)

    This solution is perfect for me

    .name_directory_startswith {
         padding: 0 2px;
         font-weight: bold;
    }

    I think you can implement it in a future update.
    Thank you.

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hey @njn04,

    in the next version I will include the padding. The bold styling is something site owners can add themselves, because not everyone will like that I am deciding this for them.

    Kind regards and thanks for your help to make the plugin better!

    Jeroen Peters

    Thread Starter njn04

    (@njn04)

    Thank you for your responsiveness and your kindness!
    Great Pluggin I think

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Thank you for your kind words! If you’d like, and could find the time, you could write a review for the plugin which can help new users choose.

    Kind regards and thanks for using the plugin!

    Jeroen Peters

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Proposal for cosmetic retouching to facilitate use on smartphones.’ is closed to new replies.