[Resolved] unwanted sidebars, too much margin, how to include jquery

Home Forums Support [Resolved] unwanted sidebars, too much margin, how to include jquery

Home Forums Support unwanted sidebars, too much margin, how to include jquery

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #39407
    Tom

    Hey Tom,

    I have all the add-ons, and am loving it so far. If you check our http://www.heightsinterns.com/advisory-for-students/ you’ll notice two things. First, I have a large margin I’d like to get rid of so that the text is flush to the left side of the page. Second, I don’t want the Archives and Meta widgets showing up in the sidebar, and I have nothing inserted into the left sidebar anyway.

    Lastly, I want to include the jQuery Accordion UI on my website, but I’m not sure how I go about it. If I use wp_enqueue_script in the functions.php file, then I’ll have to make a child theme, right? Once I get WP placing the jQuery library in the head tags, should I just use a header-footer injector to put the jQuery on just that page (I have HiFi and use it for other things)? Anyway, thanks for all your work on this, and your promptness and patience in helping all of the technically challenged people who ask for your help every day.

    #39408
    Tom
    Lead Developer
    Lead Developer

    Hi Tom,

    1. You can remove the grey sides by going into “Colors > Base Colors” in the Customizer and setting your background color to white.

    If you want to make the whole website full width, you can use this CSS:

    .grid-container.container {
          max-width: 100%;
    }

    That’s correct, you would have to use a child theme to enqueue the script. That is your best bet, but is a little complicated.

    You can also link to the file directly inside GP Hooks > wp_head – in there you would include the files as they instruct you.

    wp_enqueue_script is the better approach, but the second one is easier.

    You can also include the jQuery in GP Hook > wp_footer.

    Let me know if this helps or not πŸ™‚

    #40031
    Tom

    At http://www.heightsinterns.com/curriculum and almost any other page you can click on in the site, I’m still getting the unwanted sidebar with the search, meta, and archives widgets that I don’t want there. Are these pulling up a blog.php that has a default sidebar populated with these things? There is nothing populated in my widgets menu on the backend.

    Everything else worked well. I’m using Hooks for now, but will eventually build out a child theme when I go to neaten my work.

    Thanks again,

    Tom

    #40034
    Mizanur

    I had the same issue. I just added an empty [TEXT] widget to the sidebar/ It stopped showing search, archive and meta.

    #40124
    Gabriel

    Had the same problem, but I went to ‘lay-out’ –> ‘sidebar lay-out’ –> ‘content (no sidebars).

    #40229
    Tom

    Thanks guys, but neither of those options will work for my website. I want the left sidebar to be populated with a sub-menu that I put in the left-widget. Instead, no matter what I put there, I end up with Meta, Archives, etc.

    Because I want the menu, Gabriel’s idea is not an option. Because it won’t show up even when I put it there, Mizanur’s is not an option.

    Still need help.

    Thanks,

    Tom

    #40230
    Tom
    Lead Developer
    Lead Developer

    Hi Tom,

    Are you adding the secondary navigation to the sidebar, or the primary one?

    Let me know πŸ™‚

    #41259
    Tom

    I’m adding secondary navigation to the sidebar. Basically, I want the sub-menu from the main bar to show up as a sidebar so that the user doesn’t have to go back up to the main navigation, hover over the word, see the sub-menu and make his selection.

    Rather, once he is in the “Admissions” section of the website, the sub-pages associated with that menu will show up on the left sidebar.

    Does that make sense?

    Thanks!

    #41296
    Tom
    Lead Developer
    Lead Developer

    Hmm, showing different navigations depending on the page your in isn’t achievable using the Secondary Nav – it’s only meant to display one menu.

    What you could do is use the “Custom Menu” widget built into WordPress, and use a plugin like this: https://wordpress.org/plugins/display-widgets/

    Using that you could specify certain “Custom Menu” widgets to display on each page as you like.

    Let me know if that makes sense πŸ™‚

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.