• Hi,

    I just upgraded the plugin and started to have the follwing problem: the top buttosn that allow to jump directly into a Letter, use to be alighed horizontally. Now they appear alligned vertically. Examples:

    OLD: A B C D etc.
    NOW:
    A
    B
    C
    etc

    Can you help me on solving this?
    Regards
    A Jorge

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

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter freemason

    (@freemason)

    The command I am using in a Post is:
    [a-z-listing numbers=”before” grouping=”numbers” post-type=”post”]

    Plugin Author Dani Llewellyn

    (@diddledani)

    Sorry about that. I’m just rolling a .1 release to fix it – The code is committed I just need to wait for some sanity tests to run and then I’ll get it uploaded to www.remarpro.com.

    The problem is because when I moved some code I forgot to match it with a change to the require in the main plugin file (a-z-listing.php) so the plugin didn’t even try to load any styles. :facepalm:

    The fix will be available shortly.

    Thread Starter freemason

    (@freemason)

    Hi Daniel,

    Thanks for your prompt answer and solution. However, now I have two columns instead of one. How can I go back to one column?

    Regards
    A Jorge

    Thread Starter freemason

    (@freemason)

    By the way. Two columns doesnt seems to format right. See example in my website https://www.freemason.pt. Some larger title split to the next colunm instead of spliting to the next line.

    REgards
    A Jorge

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    Looks like I might have gotten some of the styling wrong. The multi-column is now default, but there’s a glitch which you’ve highlighted.

    Can you try adding this css (e.g. via the theme customizer) to see if it fixes the layout to be more-reasonable?

    .letter-section ul.columns li {
          display: inline-block;
    }
    .letter-section ul.columns.max-1-columns {
          column-count: 1;
          max-width: 10em;
    }
    Thread Starter freemason

    (@freemason)

    Hi,

    I tryed but the output is odd. See https://www.freemason.pt/artigos-abc/artigos-abc/

    Thread Starter freemason

    (@freemason)

    sometimes you have one narrow column, sometimes two and sometimes three (letter w)

    Plugin Author Dani Llewellyn

    (@diddledani)

    Ok, I think I’ve got it…

    Try replacing that css I just had you try with:

    .letter-section ul,
    .letter-section ul li {
          padding: 0;
    }
    .letter-section ul.columns li {
          display: inline-block;
    }
    .letter-section ul.columns.max-0-columns,
    .letter-section ul.columns.max-1-columns {
          column-count: 1;
          max-width: 10.6em;
    }
    • This reply was modified 6 years, 6 months ago by Dani Llewellyn. Reason: got the css wrong
    Thread Starter freemason

    (@freemason)

    Much better. see for yourself. Are you going to include this code within the plugin, or do I keep the CSS as it is?

    Regards
    A Jorge

    Plugin Author Dani Llewellyn

    (@diddledani)

    I’m just rolling a .2 with those changes ??

    Thanks for guinea-pigging :-p

    Thread Starter freemason

    (@freemason)

    My pleasure. One request: it would be fantastic to have an option for a one column layout.

    Regards
    A Jorge

    Thread Starter freemason

    (@freemason)

    Hi again.

    If the version that includes all this is version 2.0.2, then something is not working as format did not improve.

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hopefully, if I’ve not broken it, you can revert to single-column by copying a file from the plugin at templates/a-z-listing.example.php into your theme and renaming it to a-z-listing.php. It need to be in the top-level of your theme, so for your site:

    copy ./wp-content/plugins/a-z-listing/templates/a-z-listing.example.php
    to ./wp-content/themes/colormag-pro/a-z-listing.php

    Plugin Author Dani Llewellyn

    (@diddledani)

    The styling might be caught up in your caching plugin. Try clearing your caching plugin’s styles cache, if it allows that granularity, or the whole cache if not.

    I’m just jumping on this update thread to keep things neat. The update caused a problem on the appearance > widgets page. No buttons or widgets could be clicked or expanded. Customizer widgets still worked though.

    error – Empty string passed to getElementById()

    Deactivating this plugin brought functionality back.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Top Buttons issue’ is closed to new replies.