• Been trying to center my page entry title and video. The yellow part of my website keeps my page entry tile text to the left of screen, along with the youtube video below it. I used this code below, but it only centers the text but it doesn’t center it on the page. I have been having a hard time centering the youtube video also. And is there a way to center the words, camera, audio, lighting? I have been inspecting my site playing with the css/html but I haven’t figured this out yet. Any clue on how to make what I want a reality?
    (.entry-title {
    text-align: center;
    }

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello!

    If you want to center the rest of the content too, titles and paragraphs, then use this:

    .post-entry{
    text-align-center;
    }

    If you just want the rest of the titles centered, but not the text, add this:

    .panel-grid-cell .widget-title{
    text-align: center;
    }

    As for the video, go into the Text editor and add the iframe tag in a div. Tried with some CSS, but nothing seemed to work. Hope this does:

    <div style="text-align: center"><iframe src="https://www.youtube.com/embed/hw38A23HAf0?autoplay=1&rel=0 " allowfullscreen="allowfullscreen" id="fitvid14478" frameborder="0"></iframe></div>

    Thread Starter jenksandartt

    (@jenksandartt)

    thanks for responding

    Thread Starter jenksandartt

    (@jenksandartt)

    i will try to add this code; any recommendations on learning code. I’m curious on how you knew these codes. Did you know these by heart from experience? or did you use firebug to inspect the page? Anyway, thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Center videos and page titles’ is closed to new replies.