Comments (3)
Explanation
The shortcode being used to display the Table of Contents was
[bw_posts post_type="oik_presentation" post_parent=.
orderby=menu_order order=ASC posts_per_page=20
offset=0 ]
It's the use of offset=0
that prevented the list from scrolling.
Removing the parameter resolves the issue.
But see also a similar problem: bobbingwide/oik#13
Should the shortcode detect the use of potentially incompatible parameters?
I somehow doubt it.
from oobit.
Now what we really want to do is to make the list display in multiple columns.
That can be achieved using CSS
ul.bw_list { columns: 2; }
and while we're at it set list-style: none;
and line-height: 1.4;
from oobit.
Doesn't need a theme or plugin change since we can change the shortcode and use the CSS block to adjust the styling.
I believe that this problem was answered by: https://bobbingwide.com/problem-solving/oik_presentation/steps/step-25-expert-opinion/
I'm the expert. I can't remember why I used offset=0
in the original page from which the shortcode was copied, I do know that the original shortcode was written before WordPress 4.4 and any pagination logic.
from oobit.
Related Issues (12)
- How to remove the header image? HOT 1
- That Edit button gets right in the way on my laptop
- Do we need the Hover to slide toggle source? control HOT 3
- Why is the Author box sometimes there and sometimes not? HOT 4
- Improve side bar styling of nested lists HOT 1
- Improve styling of the Verse block on oik_presentation pages HOT 1
- Website title appearing twice - again HOT 4
- Develop archive display for Questions
- Develop archive display for Problems HOT 1
- Improve styling for Top 12 WordPress plugins
- Improve styling for Problem-Solving website
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oobit.