Skip to main content
Inspiring
March 4, 2024
Question

High-ho it's another website rebuild. First, a question regarding sidebars

  • March 4, 2024
  • 2 replies
  • 2209 views

Okay, my site has developed a serious glitch which seems to be related to my using way too many dropdown menus. Or at any rate that's where things started glitching first. I knew that the site was a stop-gap when I uploaded it, so I'm not too surprised to be back at square #1 again. I'm not a web developer and don't especially enjoy it, but I've had the site for 20 years, and don't feel like giving it up. However, at present it's next to unusable.

 

It's a largish site with something on the order of a couple of hundred pages. So it needs a lot of navigation assistance. It is split up into a number of different collections and sub-collections, but a couple of those contain up to something like 80+ pages, and thats a lot of links.  

 

The current site uses dropdowns from a fixed-position header. But that doesn't seem to be working out at all. It wasn't *quite* as bad before I split the menus up into many more dropdowns to shorten the menus, keeping fully visible on a laptop screen. But it was already glitching.

 

The previous iteration of the site used a classic left sidebar with fly-out menus. That site was built in CS6 which included Spry assets and it worked very well for most of a decade. Couldn't handle small screens, because the fly-outs extended beyond what the screen would show, and they weren't exactly scrollable.

 

I'd really prefer not to have to build a permanent sidebar, since that takes up additional screen real estate. I have been browsing the W3 Schools site, and have seen a number of things that might be helpful, if they worked. Unfortunately, attempting to insert their W3 proprietary code into a test template hasn't been going well.

 

One example, which looked promising was a sidebar which could be invoked by clicking on a button, and which went away by clicking a 'close' button on the sidebar. I was not able to get it to work in my Dreamweaver CC2021 test site. This was one of the propritary W3.css examples. 

 

So. Does plain vanila .css, such as I know is used in a Dreamweaver site, do anything like that? Which is to say, invoke a panel, overlaying part of a page containing navigation buttons, and will go away by clicking a 'close' command?

 

It wouldn't necessarily have to be a sidebar. It could come in from any direction that's visible onscreen. But it shouldn't cover the whole page. At least part of the basic page should be visible, so it's obvious that we've not just moved to a different page. 

 

So, can anyone point me at some possibilities regarding sidebars? I'll be posting some other questions about some other navigation methods. But having been bitten by dropdown menus, I'm not especially eager to try another attempt at using those. Or, not unless they could be opened with a click, and *stay* open until clicked closed, so one could scroll down to see the whole thing. I do know that W3.css has some code for doing those. But, like I say, I'm not having a lt of luck in incorporating their code into my base pages.

 

    This topic has been closed for replies.

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    March 4, 2024

    A couple hundred pages is too big to maintain without a CMS (content management system).

    Going forward, you should use WordPress or similar dynamic site building platform with content stored in a database.

     

    All WordPress Themes are mobile-friendly & responsive, so that's one less worry.  Just find a free or premium WP Theme you like.  You can always change themes later from the WP dashboard.

    FREE Themes: https://wordpress.com/themes/free

    PREMIUM Themes: https://themeforest.net/category/wordpress

     

     

    Nancy O'Shea— Product User & Community Expert
    Inspiring
    March 4, 2024

    Thank you for the suggestion. I know a lot of people use WordPress, but not everything I've heard is attractive. I will make a note of it, however.

    BenPleysier
    Community Expert
    Community Expert
    March 4, 2024

    With Boostrap v 5.3, you can create a responsive sidebar.

     

    I have created a video using a different IDE to Dreamweaver.

     

     

     

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    Inspiring
    March 4, 2024

    Okay, this moves the discussion into one of my other potential inqueries (not posted yet). At present, the site is static. Not responsive at all. Dealing with bootstrap was just one too many when I needed to move the site into a version of the code that I would be able to edit if I needed to replace a computer. Otherwise I'd happily sstill be using CS6.

     

    Given that nothing in any of the templates that came with the program came close to looked anything like what I wanted the site to look like, I ended up taking the simplest of the page templates and stripping pretty much everything out, and starting over from a blank page. It's a hobby site, not commercial at all. It mainly consists of pages of essays,  or graphics to show off, or .pdfs to either display or download. It has no need for most of the commercially-oriented elements that the templates come loaded with.

     

    I am comfortable enough with working with the current version of the program to consider putting the responsiveness back. Dreamweaver does definitely support Bootstrap. But I'm not at all looking forward to it. (Still, it can't be worse than working in GoLive where everything on a page was in a table cel. Tables, inside of tables, inside of tables, ack!)

     

    So, back to the original question. I am to assume that there is no way that plain .css will enable me to create an openable and closable sidebar? (Thank you for the video. At the tiny size I wasn't really able to see what you were doing, but it did confirm that the procedure is doable.)

    Legend
    March 5, 2024

    On the other hand, quite a bit of the mysterious other code in that .css file has to do with animations. So deleting it might disable the sidebar. But we'll see. 

    Q: is there any way to edit a post once posted, or do you just have to add corrections, like this?


    quote

    On the other hand, quite a bit of the mysterious other code in that .css file has to do with animations. So deleting it might disable the sidebar. But we'll see. 

    Q: is there any way to edit a post once posted, or do you just have to add corrections, like this?


    By @JoyceOdell

     

    No it won't disable the sidebar as the little bit of javascript at the end of the page and the css l provided is responsible for that working correctly.

     

    The font awesome css is a linked file from a content delivery network CDN. You dont really need to open/view that file at all. The only item on the page that's linked to the font awesome css is the down angle alongside of the top level links in the sidebar. Removing the css will result in the down angles not appearing.

     

    As for editing posts after they have been posted  l believe you need to convince the forum management that you are a genuine nice person by posting frequently then l think you get to have certain privileges, like editing your posts. I'm not a moderator, they would have more accurate information about posting  lm sure.