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

Change word -view- on Flatiron template for individual projects (not globally)

Question

Site URL: https://www.ninabaysdesign.com/

Hello,

I am trying to make a change to the word "view" for each of my gallery tiles on this site: https://www.ninabaysdesign.com/ with no luck.

I tried this CSS code from this forum post and it is not working for me. I used the full URL and the /URL and neither way worked.
https://forum.squarespace.com/topic/151878-change-word-view-on-flatiron-template/

#grid .item a[href="https://www.ninabaysdesign.com/keen"] div.wrapper div.project-title h3 {
    visibility: hidden;
}
#grid .item a[href="https://www.ninabaysdesign.com/keen"] div.wrapper div.project-title h3:after {
    visibility: visible;
    content: "Graphic Design, Packaging Design";
    font-size: 10px;
    font-family: monospace;
    display: block;
    text-align: center;
}

Could you please help me figure this out. I want to change the word VIEW for each title with a specific subheading for each project and not a global edit.

 

Thank you,

Irene

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0
Posted (edited)
#grid .item a[href="/keen/"] div.wrapper div.project-title h3 {
    visibility: hidden;
}

#grid .item a[href="/keen/"] div.wrapper div.project-title h3::before {
    visibility: visible;
    content: "NEW";
}

This will work, but its not going to center the new text correctly.

Edited by rwp

Free Squarespace 7.1 Anchor Link and Accordion Plugins available here!

If I replied to one of your questions with code, it was either CSS or jQuery.

To add CSS, go to Design -> Custom CSS

jQuery needs some additional steps. Head here: https://code.jquery.com/ and click on minified, under jQuery 3.x and copy that code into Squarespace.

After you put that code into the code injection section in Squarespace, you can add the code I supplied. The code from me will need <script> added before it and </script> added after it (only for jQuery).

There are two places that you can add the code, one is site wide (adds to all pages). Settings -> Advanced -> Code Injection

The other is for a specific page (adds to one page only). Pages -> Gear Icon next to the page -> Advanced

Share this post


Link to post
  • 0

Try adding to Home > Design > Custom CSS

#grid .item a[href="/keen/"] h3 {
    visibility: hidden;
}

#grid .item a[href="/keen/"] h3:before {
    visibility: visible;
    content: "NEW text";
    position: absolute;
}

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
Posted (edited)
On 6/28/2020 at 5:00 AM, tuanphan said:

Try adding to Home > Design > Custom CSS


#grid .item a[href="/keen/"] h3 {
    visibility: hidden;
}

#grid .item a[href="/keen/"] h3:before {
    visibility: visible;
    content: "NEW text";
    position: absolute;
}

 

very helpful as I was also trying to edit "-view-" to customized text per project.

I tried this code from the home>design>custom css and it does not seem to be centered, but I appreciate this step as it has helped tremendously.

Is there also a way to add the hover subtitle text to the mobile view of the grid?

Edited by rabnyc

Share this post


Link to post
  • 0
On 7/30/2020 at 12:44 AM, rabnyc said:

very helpful as I was also trying to edit "-view-" to customized text per project.

I tried this code from the home>design>custom css and it does not seem to be centered, but I appreciate this step as it has helped tremendously.

Is there also a way to add the hover subtitle text to the mobile view of the grid?

Can you share link to your site? We can check easier.


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...