Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #174701

    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?

    #174786

    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

    #174869

    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

    #174875

    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

    #174877

    Ok cool got that however i have done exactly that and nothing happens at all, no changes.??

    #174880

    Hi,

    Can you post the link to your the page in question please?

    Regards,
    Josue

    #174881
    This reply has been marked as private.
    #174883

    Is this post set to private as it keeps removing the tick from private/moderators only

    #174887

    Totally weird it does not work on my locally but does on the live site?

    #174889

    Hey!

    Did it work on live? it’s probably because the ID on live may be different from the one in local.

    Regards,
    Josue

    #174890
    This reply has been marked as private.
Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Enfold theme – icon colour change?’ is closed to new replies.