• Hey everyone!

    On all pages but home, I’m trying to create a title bar. So I made a div with the divi theme ‘container’ class, and added titleBar to it.

    <div class="titleBar container">
          <h1 class="main_title"><?php the_title(); ?></h1>
     </div>">

    then created some css

    .titleBar {
    	background-color: #979797 !important;
    }

    I notice with inspector that the css body background-color effects the bg, but it would make no sense to change the body background, I just want a little bar with the title on the top, maybe some padding above the text, but mostly I just need to change the background and I’ll be peachy.

    Super ultra thanks in advance,
    Abe

  • The topic ‘[Theme: Divi] H1 titleBar background’ is closed to new replies.