Is it possible to have a different colour IconBox Icon per page?
I see that it is set in the styling by using either the main colour or alternate however i would like to have the flexibility to choose a different colour, to make some pages the same colour and other pages a different colour and so on.
Can this be done within the theme admin?
Hey midischool!
Please add following code to Quick CSS in Enfold theme options under Styling tab and adjust as desired
.main_color.iconbox_top .iconbox_icon { background-color: #719430; color: #ffffff; border-color: #507210; }
You can use different colors in each page using page ID’s :)
Best regards,
Yigit
Hey.
Thanks for the answer, i am not a developer just an end user, i get the bit about adding the code in the “Quick CSS in Enfold theme options under Styling tab” which i have done but how do i add the page ID’s to a per page colour for the icons?
Be gently!
Thanks
Hey!
Each page has an unique ID, you can see it in the URL when editing them:
Now that we know the IDs, to set styles to different pages simply do it like this:
.page-id-1336 .main_color.iconbox_top .iconbox_icon { background-color: #719430; color: #ffffff; border-color: #507210; }
.page-id-123 .main_color.iconbox_top .iconbox_icon { background-color: #719430; color: #ffffff; border-color: #507210; }
Cheers!
Josue
Ok cool got that however i have done exactly that and nothing happens at all, no changes.??
Hi,
Can you post the link to your the page in question please?
Regards,
Josue
Is this post set to private as it keeps removing the tick from private/moderators only
Totally weird it does not work on my locally but does on the live site?
Hey!
Did it work on live? it’s probably because the ID on live may be different from the one in local.
Regards,
Josue