Jump to content

Blog Page Formatting with Site Logo- How do I make sure I do not loose the logo

Recommended Posts

  • Replies 12
  • Views 359
  • Created
  • Last Reply
  • 4 weeks later...
Posted
13 hours ago, IndigoBolt11 said:

I made the blog posts grey for now because when I made them white I lost the white logo- I want to keep the color of the blog post background white while keeping a white transparent logo- is that possible to not loose the logo?

Add to Home > Design > Custom CSS

.collection-type-blog-basic-grid.view-item .header-title-logo img {
    filter: invert(1);
    -webkit-filter: invert(1);
}

 

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!)

Posted
4 hours ago, tuanphan said:

Add to Home > Design > Custom CSS


.collection-type-blog-basic-grid.view-item .header-title-logo img {
    filter: invert(1);
    -webkit-filter: invert(1);
}

 

@tuanphan that worked on www.profitmeetsimpact.com and I just swapped it!

 

On my other clients site we are having the same problem on her blog pages:

https://www.radtalkwithtracey.com/blog the password to get in is 'rad'

I tried the code on this site on the blog pages and it didn't work even though we also have a white logo - any ideas? Would it be possible not just to make it an inversion aka black but one of the colors of the site #495A58 or perhaps the file that I have uploaded which is the logo in that color (called 1.png in custom css) 

Thanks @tuanphan

Posted
On 12/9/2020 at 8:54 AM, IndigoBolt11 said:

@tuanphan that worked on www.profitmeetsimpact.com and I just swapped it!

 

On my other clients site we are having the same problem on her blog pages:

https://www.radtalkwithtracey.com/blog the password to get in is 'rad'

I tried the code on this site on the blog pages and it didn't work even though we also have a white logo - any ideas? Would it be possible not just to make it an inversion aka black but one of the colors of the site #495A58 or perhaps the file that I have uploaded which is the logo in that color (called 1.png in custom css) 

Thanks @tuanphan

@tuanphan did you see my follow up question on another site?

Posted
On 12/11/2020 at 5:47 AM, IndigoBolt11 said:

@tuanphan did you see my follow up question on another site?

Use this code

body.collection-type-blog-side-by-side .header-title-logo img {
    filter: invert(1);
    -webkit-filter: invert(1);
}

 

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!)

Posted
14 hours ago, tuanphan said:

Use this code


body.collection-type-blog-side-by-side .header-title-logo img {
    filter: invert(1);
    -webkit-filter: invert(1);
}

 

that worked! but is there any way not to invert it and make a different color instead?

Posted
On 12/13/2020 at 11:19 PM, IndigoBolt11 said:

that worked! but is there any way not to invert it and make a different color instead?

You can change any color using JavaScript. Add to Code Injection Footer

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('body.collection-type-blog-side-by-side .header-title-logo img').attr('src','https://beaverhero.com/wp-content/uploads/2020/11/work-5382501_640-min.jpg');
});
</script>

Replace beaverhero with new logo image url

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!)

Posted
8 hours ago, tuanphan said:

You can change any color using JavaScript. Add to Code Injection Footer


<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('body.collection-type-blog-side-by-side .header-title-logo img').attr('src','https://beaverhero.com/wp-content/uploads/2020/11/work-5382501_640-min.jpg');
});
</script>

Replace beaverhero with new logo image url

That didn't work see screenshot- did I miss something?

Screen Shot 2020-12-15 at 9.44.33 AM.png

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.