• Hello,

    Y would like to make a border to blue dates in the block on the right column, “23 septembre”, “18 octobre”.
    I tried to put some code in “CSS personalized”, but nothing changes. Hope you can help !

    My code :
    .vsel-content .vsel-meta-title {
    margin: 0 0 0px;
    padding: 0;
    font-size: 1.2em;
    border-right-width: 2
    border-right-style: solid
    border-right-color: #31B5C7
    border-top: 2
    border-bottom: 2
    border-top-width: 2
    }

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi,

    Your CSS contains mistakes and you can do it much easier, try this:

    
    .vsel-content .vsel-meta-title {
    	border:2px solid #31B5C7;
    }
    

    Guido
    ps. when adding CSS/code here, please press the “code” button in the text markup bar before and after your code.

    Thread Starter sophiem91

    (@sophiem91)

    Waouh, thanks so much ! I should have ask earlier, I have been searching for a few days…

    I don’t understand your ps, the “code” button ?

    Now I tried to add margin-left, but again I don’t get it ! ??
    .vsel-content .vsel-meta-title {
    border:1px solid #31B5C7;;
    margin-left: 10;
    }

    Plugin Author Guido

    (@guido07111975)

    Hi,

    I guess you want some space on left/right side between title and border?
    When using margin whole title (with border) will move to left/right. When using padding you create some space between title and border.

    When adding padding, you need to target the h3 (heading) itself, because my plugin already has padding:0; assigned to it.

    .vsel-content h3.vsel-meta-title {
    	padding:0 10px;
    }

    About the code button, when I post here there’s a text markup bar above the textarea, this bar has a button called “code”. When omiting your code will be printed as normal text and probably incorrect.

    Guido

    Thread Starter sophiem91

    (@sophiem91)

    Thanks a lot, it’s really a job !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How can I add a border to title’ is closed to new replies.