Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1084254

    The Enfold, General Styling, Main Content, Border colours field determines the border colour. This works for most of my borders, but I need one border to be a different colour (a Separator/White Space item). I’ve added this to Custom CSS:

    /*To make line blue on why page*/
    .lineblue {
    border: 1px solid #0f206c; !important;
    }

    And added this into the Separator/White Space Custom Class box:
    lineblue

    But it’s still the colour designated in General Styling. How can I get the Custom CSS to override the General Styling?

    #1084417

    Hey m,

    Please provide a link to the site/page in question so we can look into this issue further.

    Best regards,
    Jordan Shannon

    #1084613

    Thank you.

    #1085269

    Hi m s,

    I think you have an extra ; just before the !important, try changing it to:

    #top .lineblue {
      border: 1px solid #0f206c !important;
    }

    Hope this helps.

    Best regards,
    Nikko

    #1085567

    Thank you, this makes the border blue, how do I get the line inside the border to be blue?

    #1085589

    Hi,

    Add this to quick css:

    .main_color .hr.hr-default span.hr-inner{
    border:.5px solid #0f206c !important;
    }

    Best regards,
    Jordan Shannon

    #1085681

    Thank you, that works. The line is thicker though, I’d prefer if it was just the original 1px thickness in total.

    #1085708

    Hi,

    Just adjust it to this:

    .main_color .hr.hr-default span.hr-inner{
    border:1px solid #0f206c !important;
    }

    Best regards,
    Jordan Shannon

    #1085732

    Sorry, I’m not making myself clear. Changing the border from 0.25px to 1px makes the line thicker still. What I want is for the line to not get any thicker at all and to not have a border; for the line to simply be a different colour without adding a border to it.

    #1085835

    Hi m s,

    I have checked your site and it seems you have already done this.
    Let us know if you need further assistance.

    Best regards,
    Nikko

    #1086597

    No, I haven’t done this. The upper line near the top of the cyan background section become thicker when your css is added, because it’s not simply changing the line colour to blue, it’s adding a 1px blue border:
    .main_color .hr.hr-default span.hr-inner{
    border:1px solid #0f206c !important;
    }

    View the thickness of the line in the bordered box below – that is how thick the upper line is when the css code is removed. If you paste in the CSS code, the upper line becomes thicker.

    Is there a way to simply change the colour of the upper line without adding a border that makes it thicker?

    #1086762

    Hi m s,

    Try using this css code:

    #top .lineblue .hr-inner {
        border-top: 0.25px solid #0f206c !important;
    }

    Best regards,
    Nikko

    #1087234

    Thank you so much. I apologize for not being more clear from the beginning.

    #1087268

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Custom CSS needs to override General Styling for Separator colour’ is closed to new replies.