This topic has 4 replies, 2 voices, and was last updated 9 years by DiegoBRRSPF.

  • Author
  • #75838
     DiegoBRRSPF
    Participant

    Hi!

    How can I change the box color and add a border in a Feature Item list, as the attached image?

    Thanks!

    Attachments:
    You must be logged in to view attached files.
    #76006
     sharmstr
    Moderator

    The background controlled by a whatever section style you have set on the row. Then it uses the alternate background color set in Theme Options > Styles > Watever section style you set.

    There isnt a border by default, so you’ll have to add it with this css

    COPY CODE
    
    .kleo-block.feature-item {
        border: 1px solid green;
        margin-bottom: 0px !important;
        padding-bottom: 0px !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #76128
     DiegoBRRSPF
    Participant

    Hi sharmstr.

    Ok, thanks for your response. I understand the use of the Theme Options > Styles, but I just want to change the background of that particular box, not the color of every component that use the Alternate Background setting.

    Maybe a CSS complement in your suggestion?

    Thanks.

    #76152
     sharmstr
    Moderator

    There isnt a way to target a specific featured item within a featured item grid because there isnt an extra class name field in the item settings. There is on the featured item grid though. So I guess you could create a grid with only one item, add an extra class name then use css like this…

    COPY CODE
    
    
    .your-class-name .feature-item {
        background-color: red !important;
        border: 1px solid green;
    }
    
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #76158
     DiegoBRRSPF
    Participant

    OK sharmstr.

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?