MiguelFerrao
Member-
Posts
43 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Everything posted by MiguelFerrao
-
I to everyone. The solution has been found by @jaeveedee.
-
Hi again @Ziggy. Thanks for your reply. Just did it and didn’t change the behaviour. Any clue?
-
I do have @Ziggy, all over. CUSTOM CSS: a#site-title { font-family: BioRhyme Expanded!important; font-style: italic!important; } a:link {text-decoration:none!important;} a:visited {text-decoration:none!important;} a:hover {color:white !important;} a:active {text-decoration:underline!important;} .header#header {position: fixed!important; background-color: transparent!important} /* Change Line Color */ .sqs-block-horizontalrule hr { background: #c0c0c0!important; } .btn:first-of-type {display: none!important} .btn:nth-child(2) {margin-left: 35px!important} .btn:hover { color: black!important; background-color: white!important; transition: 0.2s!important; text-decoration: none!important} CODE INJECTION: Varies across the website. Here is an example on that specific page: https://www.musaparadisiaca.net/projects <style> body {background-color: #E6E6E6;} #canvas {background-color: #E6E6E6;} </style> <style> #header .header-nav-item:nth-child(1) {display:none} #header .header-nav-item:nth-child(2) {display:none} #header .header-nav-item:nth-child(3) {display:none} #header .header-nav-item:nth-child(4) {display:none} #header .header-nav-item:nth-child(5) {display:none} @media screen and (max-width:1511px){#header .header-menu-nav-item:nth-child(1) {display:none}} @media screen and (max-width:1511px){#header .header-menu-nav-item:nth-child(2) {display:none}} @media screen and (max-width:1511px){#header .header-menu-nav-item:nth-child(3) {display:none}} @media screen and (max-width:1511px){#header .header-menu-nav-item:nth-child(4) {display:none}} @media screen and (max-width:1511px){#header .header-menu-nav-item:nth-child(5) {display:none}} </style> <script> $( ( ) => { /* add buttons to header SS Version : 7.1 */ let buttonsNewData = [ { buttonText : 'PT', url : 'https://www.musaparadisiaca.net/projectos' } ] // do not change anything below, there be the borg here $( '.header-actions-action--cta, .header-menu-cta' ).each ( function ( ) { let $this = $( this ); $.each ( buttonsNewData, function ( index, buttonNewData ) { let $buttonNew = $( '.btn:first', $this ) .clone ( ) .attr ( 'href', buttonNewData.url ) .text ( buttonNewData.buttonText ) .appendTo ( $this ); } ); } ); } ); </script>
-
Yes, of course @Ziggy https://www.musaparadisiaca.net/projects
-
Hello to everyone, I find it across the whole template. Is it possible to make vertical spaces between rows of blocks equal? Everytime I add a row of blocks, the top one is appearing differently from all the others. Can you please help me on this?
-
Remove playbar from audio player
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
Hi @jaeveedee Yes, I am putting this on code injection because this is the only page I want with this behaviour. The code is now working perfectly: https://www.musaparadisiaca.net/for-a-history-of-smells Thanks a LOT for your precious help. All best, Miguel -
Remove playbar from audio player
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
Thanks a lot @jaeveedee Should I substitute any code already there? <style> body {background-color: #E6E6E6;} #canvas {background-color: #E6E6E6;} </style> <style> #header {display: none;} </style> <style> .sqs-widgets-audio-player {background:white!important;} .sqs-widgets-audio-player .action:hover {background-color:transparent!important;} .sqs-widgets-audio-player .action .play-button { box-sizing: border-box; height: 40px; border-style: solid; border-width: 25px 0 25px 40px; border-color: transparent transparent transparent white;} .sqs-widgets-audio-player .action .pause{box-sizing: border-box; height: 50px; border-style: double; border-width: 0px 0px 0px 40px; border-color: transparent transparent transparent white;} .sqs-widgets-audio-player .progress {display: none !important;} .sqs-widgets-audio-player .time {display: none !important;} .sqs-widgets-audio-player .progress-bar {display: none !important;} .sqs-widgets-audio-player .action { position: fixed !important; top: 50% !important; left: 49% !important; transform: translate(-50%,-50%) !important;} .sqs-widgets-audio-player .track .icon { background-color: none!important;} </style> <style> div#page-section-65798fa962771a6b7f4a6a5a * { background-color: transparent !important;} .sqs-widgets-audio-player .track .icon {display: none !important;} </style> <style> .sqs-widgets-audio-player .action { .play, .pause { left: 50% !important; transform: translateX(-50%) !important; } }</style> <style> .sqs-block-audio { text-align: center; .sqs-audio-embed { display: inline-block; } .sqs-widgets-audio-player { .track, .labels, .secondary-controls { display: none; } .action { border-right: none !important; } } } </style> -
Remove playbar from audio player
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
Hi @jaeveedee. Here it is: https://www.musaparadisiaca.net/for-a-history-of-smells -
Remove playbar from audio player
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
Ok, I’ve created exactly the play/pause button I wanted. Unfortunately, it is not centred. Can we fix that? Here is the code I used: .sqs-widgets-audio-player .action .play-button { box-sizing: border-box; height: 40px; border-style: solid; border-width: 25px 0 25px 40px; border-color: transparent transparent transparent white; margin: 0;} .sqs-widgets-audio-player .action .pause{box-sizing: border-box; height: 50px; border-style: double; border-width: 0px 0px 0px 40px; border-color: transparent transparent transparent white;} -
Remove playbar from audio player
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
How about changing the size of the play/pause? Is that possible @tuanphan @jaeveedee? Thanks a lot for your help. -
Remove playbar from audio player
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
Thanks a lot for helping, @tuanphan and @jaeveedee. The code below is almost getting it all: The only thing unneeded is the right border (in grey) next to the play button. Do you think we can remove this? -
Remove playbar from audio player
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
Hi @jaeveedee, thanks for your answer. I’ve made a version of the page as you've suggested. www.musaparadisiaca.net/for-a-history-of-smells-test -
Remove playbar from audio player
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
Sure @jaeveedee https://www.musaparadisiaca.net/for-a-history-of-smells Thanks! -
Is there a way to remove the playbar (progress bar) from the audio player and to have a play/pause player only?
-
Site URL: https://www.musaparadisiaca.net/home-en Hi there! I would like to replace navigation item text on hover with fade out and fade in. On hover, the text should fade out and another text should fade in, but the active item (when clicked) should stay equal to the text replacing the original one. Is this possible? Thanks a lot for your help.
-
- navigation-link
- hover
-
(and 1 more)
Tagged with:
-
Prevent audio player to open on new window on mobile 7.1
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
It is solved @tuanphan! Thank you so much for this. -
Prevent audio player to open on new window on mobile 7.1
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
Hi! Of course. Here is an example: https://www.musaparadisiaca.net/solar-boat-audio-pt Thanks for your help. -
Stop header items from sliding on page loading
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
Dear @tuanphan, I have tested your code but, unfortunately, it doesn't solve the "sliding" problem concerning navigation items while loading pages. This is driving me crazy... Can anyone help me understanding this? -
Stop header items from sliding on page loading
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
I am adding two videos from both website's versions, 7.0 and 7.1, to illustrate the "navigation items sliding issue". I will be really happy with any help! 7.0.mov 7.1.mov -
Stop header items from sliding on page loading
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
Hi @tuanphan and thank you for your answer. I am hiding navigation items using code injection because those hidden elements vary accordingly to the language of each page. I am building a bilingual website. If I move the code in Code Injection into Design > Custom CSS it will change website as a whole and it will not allow to hide half of the elements in one language and show these same elements in the other language. Let me explain: To accomplish a bilingual 7.1. website using navigation this way and to have a button to change language on each individual page (the button seems the same but it links to the translated page where you are, so it needs to use specific code each time) I had to use the "add a button to navigation" official option and to add a script to allow and addition of multiple buttons to navigation. But, unfortunately, I couldn't find any solution for having this "official" button to link to different pages depending on the page you are, as so, I had to put something on the "button text" label and to hide this button with Custom CSS. Then, with the script, I could add as many buttons as I wanted with as many links and description I wanted. This all fine, the only is that, sometimes, the hidden button appears for a brief moment and changes the set-up of the navigation. Any way, this issue of having the navigation sliding to the left and then to the right, for a second, when loading pages, was already occuring on my 7.0 version of this website (www.musaparadisiaca.net), and I couldn't find any solution to this problem either. Any ideas? Thanks a lot. -
Stop header items from sliding on page loading
MiguelFerrao replied to MiguelFerrao's topic in Customize with code
Sorry @tuanphan, had to change it to musa. No capitals. -
Site URL: https://banjo-recorder-36fe.squarespace.com/knows Dear all, I am experiencing an issue with my 7.1 website concerning the navigation items. When the page loads, the items quickly slide to the left just before returning to their desired position. I suspect that this is related with the amount of CSS custom code it has to read before opening the page. The password for the website is Musa. Any help would be really appreciated! All best, Miguel
-
Add multiple buttons to header nav in Squarespace 7.1
MiguelFerrao replied to catg's topic in Customize with code
Dear @creedon, this code is amazing and works perfectly to create multiple buttons, thanks a lot! However, would it be possible to use a similar method to create a single button without using the "edit header > elements > button" path? I am trying to have a single button linking to different pages on each page of the website, making it a language selector for each of those individual pages. Thanks for your help.- 196 replies
-
- squarespace-7.1
- button
-
(and 1 more)
Tagged with: