• Hi there

    I’m using the ‘Pink Touch 2’ theme which holds widgets in the footer. I just wondered if anybody knows how to add a sidebar to this theme?

    My coding knowledge is fairly basic so any help would be greatly appreciated.

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • zobia.ir

    (@shandizstocks)

    hi
    this is not easy !
    before create a backup.
    see this link : https://www.tastyplacement.com/add-sidebar-wordpress

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Yes, as shandiz stated is it not easy. Specially on a pre-existing theme. If you really want to go through with this you will want to start of by creating a child theme so you won’t lose any modifications if the theme when the theme gets updated.

    Warning: You will have to know PHP, CSS and HTML and be confident about it. ??

    The next thing you will want to do is register the sidebar(s) in your functions file. You will then have to modify a few PHP files to include that sidebar and add HTML as well. The last step is to style it CSS and make sure that everything still looks the way it should.

    Thread Starter benmandv

    (@benmandv)

    Thanks for the replies.

    I managed to get a sidebar to display but in the main contents part of the site. How do I move it over to the left?

    Do I call the sidebar from the pagetemplate file or contents.php?
    And then as the css is using wrappers, how would i go about style/positioning?

    Many thanks

    Thread Starter benmandv

    (@benmandv)

    Right I’ve managed to get sidebars to work.

    The only problem now, which is hopefully an easy one. How do I stop the text widget overflowing the sidebar? All other widgets are working well so far.

    Do i have to style the text widget in css?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding Sidebar’ is closed to new replies.