This is a follow up to Ticket #343783 that is already closed. This Quick CSS worked but I just noticed it also affected my portfolio gallery and shifted it over 2 pixels which I don’t want. How do I make it so this code only targets the ajax portfolio on the attached page of my website? Thanks in advance!
#top div .no_margin {
margin-left: -2px;
margin-top: 0;
}
Hey djshortkut!
Thank you for using Enfold.
Replace the #top id with the .page-id-7912 class.
.page-id-7912 div .no_margin {
margin-left: -2px;
margin-top: 0;
}
Best regards,
Ismael
Thanks Ismael! So I’m a little confused…I put this code in the Quick CSS but it didn’t do anything. Am I missing something?
.page-id-7912 div .no_margin {
margin-left: -2px;
margin-top: 0;
}
Hi!
the code should work. Please try to clear browser cache.
Cheers!
Andy
I already cleared the browser cache numerous times and flushed it on my managed wordpress hosting and it didn’t change anything. However, I was able to figure it out. I added a section ID to the color section the portfolio was contained in and targeted the section with #portfolio and it worked. Thanks for all the help!