Add a dropdown select list in a text widget (1 post)

  1. vickym
    Posted 3 years ago #

    Hi, I'm needing to create a dropdown list on my site which links to certain pages. The list is currently in a text widget and I'm not sure how to include the script to ensure it works.

    This is what I currently have in my widget:

    <h2><span>FIND A</span>NURSERY</h2>
    										<select class="sel">
    <option value="select-location">select a location</option>
    											<option value="/our-nurseries/faringdon-childcare/">Faringdon</option>
    											<option value="/our-nurseries/benson-childcare/">Benson</option>
    											<option value="/our-nurseries/filkins-childcare/">Filkins</option>
    											<option value="/our-nurseries/newark-childcare/">Newark</option>
    											<option value="/our-nurseries/lincoln-childcare/">Lincoln</option>
    											<option value="/our-nurseries/innsworth-childcare/">Innsworth</option>
    											<option value="/our-nurseries/stoke-park-childcare/">Stoke Park

    This is the draft site where the widget is included (pink box top left of screen):

    I've searched through lots of forums and tutorials, but none of them seem to have the answer. If anyone could point me in the right direction, I'd be really grateful.

    Many thanks


Topic Closed

This topic has been closed to new replies.

About this Topic