Squarespace Tutorial | How to Add and Style a Dropdown Menu

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии • 2

  • @dewbs96
    @dewbs96 10 дней назад +1

    What would I add into the code to make the text align to the A in About & how would I make the drop down box flip with the long way on the right hand side(also can we shorten it?)
    Please let me know, thank you!

    • @AboundWebDesign
      @AboundWebDesign  7 дней назад

      To achieve what you are asking for here along with everything else that I changed about the drop down menu in the video you would need to add the following CSS to your website:
      /* Header Navigation Dropdown Menu */
      .header-nav-folder-content {
      border: 1px solid #000 !important;
      border-radius: 20px !important;
      box-shadow: 3px 3px #000 !important;
      background: #fff !important;
      padding: 10px !important;
      left: 0 !important;
      text-align:left!important;
      }
      The parts that I added to accomplish what you are asking for were the last two lines:
      left: 0 !important;
      text-align:left!important;
      Hope this helps and thanks for watching!!