Centering header logo, keeping home URL link

Homepage Community Forums Epik Theme Support Centering header logo, keeping home URL link

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7821
    #7842
    Wes
    Moderator

      First add this to your css –

      .head-wrap .site-header {
          background-position: center top !important;
      }

      Then add this to your title-area around line 1897 –

      .title-area {
          float: none;
          height: 150px;
          margin: 0 auto;
          text-align: center;
      }

      In order for the logo to center (and still be clickable) the content in the header right area will show up under it on the next line since we removed the “float” code…..which means it has nothing to float next to.

      Add that code and let me know what all happens, there may need to be more adjustments made, but we would have to see in order to know what to do next.

      #7879
      mediacafe
      Customer

        Hi Wes, thank you for that fix. It worked great!!!

        One last variation. Can I keep the logo centered and use the header right widget? What happening now, is that the right header widget is pushed down, making the header much deeper.

        Can you help with this last fix to the header?

        Thanks!

        #7888
        Wes
        Moderator

          That’s what I was referring to in my previous comment –

          “In order for the logo to center (and still be clickable) the content in the header right area will show up under it on the next line since we removed the “float” code…..which means it has nothing to float next to.”

          The header right widget has nothing to float next to since the main header is centered. So it has to be on its own line if you want the logo to be perfectly centered.

          #7889
          mediacafe
          Customer

            Thanks for the clarification! Lets consider this solved. I appreciate it!

            #7900
            Wes
            Moderator

              You’re Welcome! Just let me know if you need anything else.

            Viewing 6 posts - 1 through 6 (of 6 total)
            • The topic ‘Centering header logo, keeping home URL link’ is closed to new replies.