Top Buttons issue
-
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
etcCan you help me on solving this?
Regards
A JorgeThe page I need help with: [log in to see the link]
-
The command I am using in a Post is:
[a-z-listing numbers=”before” grouping=”numbers” post-type=”post”]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 WordPress.org.
The problem is because when I moved some code I forgot to match it with a change to the
requirein 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.
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 JorgeBy the way. Two columns doesnt seems to format right. See example in my website http://www.freemason.pt. Some larger title split to the next colunm instead of spliting to the next line.
REgards
A JorgeHi,
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; }Hi,
I tryed but the output is odd. See https://www.freemason.pt/artigos-abc/artigos-abc/
sometimes you have one narrow column, sometimes two and sometimes three (letter w)
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 7 years, 6 months ago by
Dani Llewellyn. Reason: got the css wrong
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 JorgeI’m just rolling a .2 with those changes 🙂
Thanks for guinea-pigging :-p
My pleasure. One request: it would be fantastic to have an option for a one column layout.
Regards
A JorgeHi again.
If the version that includes all this is version 2.0.2, then something is not working as format did not improve.
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.phpinto your theme and renaming it toa-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.phpThe 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.
-
This reply was modified 7 years, 6 months ago by
The topic ‘Top Buttons issue’ is closed to new replies.