Styling an tag

  • Posted in : impressivCard WP
  • mrtibbs
    Participant

    Hi. Really love your template.

    On the single full portfolio pages I’d like to use an <hr> to separate the multiple videos and images. What css code should I use to achieve that?

    Thanks!

    mrtibbs
    Participant

    also, I want to be able to add some text below each video I place, but when I type anything, the spacing is enormous. Is there anyway to style it so that I can caption the videos underneath each one?

    mrtibbs
    Participant

    And I figured out the CSS code myself. Just incase anyone else is curious:

    To remove the space below videos posted on a portfolio page:
    .portfolio-field img, .portfolio-field .fluid-width-video-wrapper, .portfolio-field video { margin-bottom:0px; }

    To style a caption below the video, I created a class for the tag:

    p.portHeader {
        margin:-4px 0 0 0;
        border-width: 0 0 0 3px; 
        border-left-style:solid;
        border-left-color: #65c77f;
    }
    
Viewing 3 posts - 1 through 3 (of 3 total)

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