Jump to content

Horizontal Align Text Block in Mobile View.

Go to solution Solved by Beyondspace,

Recommended Posts

Please send the site url

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
30 minutes ago, Murso500 said:

i mean the page with these elements

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • Solution

I'm not sure why your blog page has different navigation blog post, so here a work around with the help of some custom code

1. Settings->Design->Custom Css

@media only screen and (max-width: 768px) {
    .col.blog-navigation {
        width: 50% !important;
        float: left !important;
    }
}

2. Settings->Advanced->Code Injection

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
	jQuery(document).ready(function() {
    	$("a:contains('← Previous')").closest(".col").addClass("blog-navigation");
		$("a:contains('Next →')").closest(".col").addClass("blog-navigation");
    });
</script>

3. Outcome

image.png.31855002fffff28aee50496edb038817.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.