Okay
  Public Ticket #2270219
fancy box padding
Closed

Comments

  •  36
    Dave started the conversation

    Hi Tahir,

    I now this should be a simple bit of css but I'm having trouble amending the padding for the fancy box (color box hover style). I've tried the following without luck...

    .nectar-fancy-box[data-style="color_box_hover"] .box-inner-wrap {
        padding: 0% !important;
    }

    Hoping you can help me out.

    Many thanks,

    Dave



  •  3,023
    Andrew replied

    Hi Dave,

    That CSS should work if added to salient \ general settings - css script related - custom css code.

    Its works when we added it to end of https://riflebird.co.uk/dna/wp-content/themes/salient/css/style.css?ver=11.0.1 so it should work in the salient options panel area.

    The effect of the CSS is not all that obvious but the boxes get kind of shorter but the text is sill in the middle and there is some space between the text and the outside border of the fancy box on all sides.

    Hope this clears things up. 

  •  36
    Dave replied

    Hi Andrew,

    Thanks for the response. It does indeed work fine if you add it to the correct stylesheet. I was shifting between 2 sites in Dreamweaver and added code to the wrong css file. I'm officially an idiot!

    Thanks for allowing me to see the light.

    Dave