WordPress.org

Forums

Syntax
Change Content of left sidebar (3 posts)

  1. oidrom
    Member
    Posted 1 year ago #

    Hi,

    I wanted to ask, how I can change the Input of the left sidebar. I need only one page with a long long text with different chapters. I want the sidebar to be a menu, which is not switching between different sides, it should jump to special points in the Text. Just like the wikipediamenu.

    The html-tag is simple with <div id="#chapter1"></div> and <a href="chapter1">, but I am not sure, how I can add it to the left sidebar. Any Ideas?

    Thanks for your help

  2. Hi there, it sounds like you want to add a sidebar menu that links to various anchor points on a page.

    You could try making a custom menu and adding custom links for your chapters. Then assign the custom menu to the theme's Primary Menu area.

    It would look something like this:

    https://cloudup.com/c29kf1MGPre

    I just tested it and it seems to work. Let me know how it goes!

    If you need more help adding a custom menu: http://en.support.wordpress.com/menus/

    About custom links:
    http://en.support.wordpress.com/menus/#adding-custom-links

    Those support pages are on WordPress.com but it should work just the same on a self-hosted site.

  3. oidrom
    Member
    Posted 11 months ago #

    Ah fine, sorry haven't looked down here, since I fixed it my way. Not the best way to do it, but simple there for me. I simply added html-code to my footer.php, CSS does the rest. I will also try yours, looks nicer to me.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.