Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Adding 2 or 3 button rows on mobile (7.1) sitewide


Question

Site URL: https://churchtownschoolofmusic.ie/

Hi folks,

I'm trying put 2 buttons in a row on mobile. Failing miserably, Is my "page id" the same thing  as my "collection id"?

/* Buttons side by side */
@media screen and (max-width:767px) {
div#page-5e7b7a293054960426046b4f .span-12 .span-3 {
    width: 50% !important;
    float: left !important;
}
div#page-5e7b7a293054960426046b4f .span-12 .span-3:nth-child(2n+1) {
    clear: left !important;
}
}

 

Any thoughts?, sorry for the bother.

 

 

Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
Posted (edited)
57 minutes ago, irishmusicschool said:

2 buttons in a row on

The usual Squarespace procedure for buttons is one-per-row. so i'd consider having regular text (2 words - each one linked an representing a button) and using CSS to turn it into a button

PS: regarding your question: usually it's best to target the block ID or CSS class (like e.g.

one example for each:

#block-yui_3_17_2_1_1607458165875_6808
{max-width: 60px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;}



.light-bold .sqs-block-button-element
{background-color: red !important }

 

Edited by ArminB
update
Link to comment
  • 0
5 hours ago, ArminB said:

The usual Squarespace procedure for buttons is one-per-row. so i'd consider having regular text (2 words - each one linked an representing a button) and using CSS to turn it into a button

PS: regarding your question: usually it's best to target the block ID or CSS class (like e.g.

one example for each:

#block-yui_3_17_2_1_1607458165875_6808
{max-width: 60px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;}



.light-bold .sqs-block-button-element
{background-color: red !important }

 

Much appreciated, I'll redouble my efforts. I had tried targeting the block ID at first but perhaps the code used was otherwise flawed. I'll get there!

Link to comment
  • 0
On 7/5/2021 at 6:39 PM, irishmusicschool said:

Site URL: https://churchtownschoolofmusic.ie/

Hi folks,

I'm trying put 2 buttons in a row on mobile. Failing miserably, Is my "page id" the same thing  as my "collection id"?

/* Buttons side by side */
@media screen and (max-width:767px) {
div#page-5e7b7a293054960426046b4f .span-12 .span-3 {
    width: 50% !important;
    float: left !important;
}
div#page-5e7b7a293054960426046b4f .span-12 .span-3:nth-child(2n+1) {
    clear: left !important;
}
}

 

Any thoughts?, sorry for the bother.

 

 

I see some problems on your site. Do you need help on these?

Site URL – https://churchtownschoolofmusic.ie/

1. (Desktop – Header) Menu items  are cut into 2 lines.

https://churchtownschoolofmusic.ie/

churchtownschoolofmusic.ie-01-min.png

2. (Desktop – Homepage) The amount of text in the block is different, so the block size is not equal.

https://churchtownschoolofmusic.ie/

churchtownschoolofmusic.ie-02-min.png

3. (Mobile – Blog posts) Paginations are a bit close together.

https://churchtownschoolofmusic.ie/blog/7cbxf86lfofgabl4a9uoieqxy98jc4

churchtownschoolofmusic.ie-03-min.png

4. (Mobile – Calendar) On the desktop you can see the whole picture. On mobile, the image is partially cropped.

https://churchtownschoolofmusic.ie/caln

churchtownschoolofmusic.ie-04-min.png

5. (Tablet – Homepage) The width of the text is a bit small.

https://churchtownschoolofmusic.ie/

churchtownschoolofmusic.ie-05-min.png

6. (Tablet – Footer) On desktop, these links are on one line. On tablet is cut into 2 lines.

https://churchtownschoolofmusic.ie/

churchtownschoolofmusic.ie-06-min.png

7. (Tablet – Lessons) Button overlaps the button.

https://churchtownschoolofmusic.ie/Lessons

churchtownschoolofmusic.ie-07-min.png

8. (Tablet – Calendar) Increase calendar width?

https://churchtownschoolofmusic.ie/caln

churchtownschoolofmusic.ie-08-min.png

9. (Tablet – Pricing) The width of the block is a bit small

https://churchtownschoolofmusic.ie/pricing

churchtownschoolofmusic.ie-09-min.png

10. Still have some other issues.

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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...