Jump to content

Change div order with css

Go to solution Solved by WebShark,

Recommended Posts

Posted (edited)

Hello

I am currently working with the plugin 'Interactive Advanced Map Block', and I wish to rearrange the order of the info, it shows.

I wish to have the category below the title, so the image is last.

So order is:

Title
Category
Image

Can this be done?

URL: https://cone-dolphin-lxkp.squarespace.com/kort-over-oplevelser-i-kobenhavn
code: thankyou
image.png.bf90dd4a343d67139959e6c5a1f69ce7.png

 

Thank you in advance 🙂

Edited by WebShark
wrong URL
Link to comment
Posted (edited)
5 hours ago, WebShark said:

Hello

I am currently working with the plugin 'Interactive Advanced Map Block', and I wish to rearrange the order of the info, it shows.

I wish to have the category below the title, so the image is last.

So order is:

Title
Category
Image

Can this be done?

URL: https://cone-dolphin-lxkp.squarespace.com/maps/
code: thankyou
image.png.bf90dd4a343d67139959e6c5a1f69ce7.png

 

Thank you in advance 🙂

Can you show me how I can see this popup on your site? I checked but there is no feature like this

Edited by Beyondspace

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • Solution

Problem solved:

.custom-maps-info-window .custom-maps-info-wrapper {
  display: grid !important;
}

.info-marker-title,
.info-marker-image,
.info-marker-cats,
.info-marker-descr {
  grid-row: auto; /
}

.info-marker-title {
  order: 1 !important; /
}

.info-marker-image {
  order: 3 !important; /
}

.info-marker-cats {
  order: 2 !important; /
}

.info-marker-descr {
  order: 4 !important; /
}

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.