Jump to content

Help Adding image after horizontal nav bar

Recommended Posts

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

Hey everyone,


I'm trying to add an image that has two logos in it after the CONTACT  on my horizontal navigation bar. I'm very close I can feel it, but I'm having troubles because the logos are showing up on the vertical drop down under ABOUT US. I just want it on the horizontal part, not drop down. Can anyone point me in the right direction please. 


Website: www.c2eventz.com

CSS I'm Using: 

.main-nav .page-collection:nth-child(3)::after  {
content: '';
  height: 60px;
  width: 80px;
  display: inline-block;
  background: url('https://images.squarespace-cdn.com/content/5b3afc5296d4551e47041aeb/1582146080996-BY35GMYMZOALEJPJMQ66/My+Post+%281%29.png?format=2500w&content-type=image%2Fpng');
  background-size: contain;
   background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 5px;


Please let me know if you have any questions to further help me.



Link to comment
  • Replies 3
  • Views 247
  • Created
  • Last Reply
3 hours ago, jlipichok84 said:

Still didn't work @tuanphan Thanks for the try...Anymore ideas? 

When I did that, it just went away, no images showed in either horizontal or vertical drop down..

okay, try again with

.main-nav ul>.page-collection:nth-child(3)::after

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


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.