Jump to content

I'm trying to remove the "written by" (pre-text in the author meta) using CSS and have found a basic solution , but not one that actually achieves my end goal

Go to solution Solved by jpeter,

Recommended Posts

This code technically removes the words "written by" I need to close the space up between the bullet and the author name/link. 

 

.blog-meta-item.blog-meta-item--author.p-author.author {
    visibility: hidden;
}
a.blog-author-name {
    visibility: visible;
}

 

FYI: Site is under construction, but should NOT need access to it. This is a basic functionality question. 

Edited by ChunkyGlasses
more info
Link to comment
  • Solution

@ChunkyGlasses Assuming you're using the Amal theme, you can use the following CSS code.

.blog-meta-item.blog-meta-item--author.p-author.author {
    visibility: hidden;
    position: relative;
}
a.blog-author-name {
    visibility: visible;
    position: absolute;
    left: 0;
    width: max-content;
}

Here's an video example of the code:

 

 

Full stack developer who loves helping people out with anything web related. If you'd like to support me, buy me a coffee!

Link to comment
  • 1 year later...

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.