Jump to content

Code Doesn't Work on Mentor Template

Recommended Posts

Site URL: https://cavaliers.org/staff-bod

Not one code is seeming to work on my website.

I've added this:

#header {
position: fixed;
width: 100%;
z-index: 4;
}

as a Custom CSS to make fixed my website header so that's it's always showing, but it's not working.

And I've tried this:

<style>
      .date {
        display: none;
    }
    </style>

AND this:

<style>
.tweak-blog-item-show-date .blog-item-wrapper .blog-meta-item--date {
    display: none;
}
 time.blog-date {
    display: none !important;
  }
</style>

in specific blog collections to hide the published dates and neither worked!

 

In a previous template I used this:

<style>
 p.date.entry-author {display: none !important}
 .collection-type-blog article .date {display: none;}
 </style>

to hide author and publish dates which worked perfectly fine, but since switching to the template there was already a feature to disable both. I've disabled the authors name (which I needed site wide so great!) but I don't need to disable publish dates site wide.

 

Does anyone know another solution? Who can help me out? This is for the Mentor template.

Thanks!

Link to comment
  • Replies 5
  • Views 364
  • Created
  • Last Reply
9 hours ago, 1948-23 said:

No, Q2 is not solved. The code for Q1 works - thanks! - but there's an odd gap at the top.

As for Q2, I don't want the dates with these biographies. They're under the url cavaliers.org/staff-bod

 

website header gap.png

websiteDate.png

websiteDate2.png

Q1. edit 20px to 0px

Q2. Add to Design > Custom CSS

/* Staff bold hide date */
body#collection-58805ada15d5db76abd8ab74 time {
    display: none;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

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