• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 24.04.19, 07:32
  • Opened by: Dione
  • Closed by: Marek
  • Closed on: 01.08.19, 12:31
  • Reason: Closed
  • Comment: Glad to help!

Ticket #14316 - Customize header

Is it possible for the contact information just below my site’s logo to be moved to the middle of the page and have smaller text? Trying to have more page showing above the fold as I want to add Revolution slider.

Comments

Marek 24 Apr 2019, 11:30

Try following CSS:

#header .widget-contactinfo {width:100%}
#header .widget-contactinfo .nav {display:flex; justify-content:center}
#header .widget-contactinfo .nav .nav-item {margin:0 10px}
Dione 24 Apr 2019, 23:44

Thank you. Where do I put the css (which file)?

Marek 25 Apr 2019, 11:06

Go to Theme Settings → Customer CSS

Dione 25 Apr 2019, 15:45

Hi - when I went to Custom CSS, I found this code - probably done by you or your team from a previous ticket:
.header-border-bottom .row-level-1 {max-width:100%}
.cartBlock #desktop_cart {width: 78px}
.pk-widget .pk_cl > ul > li > a > .svgic {height: 20px;width: 20px}
#wid-key_1544816347922 {margin-right:-15px;}
.blogPostBlock .photo {max-width:350px}
.header-border-bottom .row {margin:0}
@media (max-width:768px) {

  #wid-key_1546192775974 {
      font-size: 13px;
  }
  #wid-key_1546192775974 .block-contactinfo .nav-item {
      margin-bottom: 0;
  }
  #wid-key_1544887350423 {margin-top:10px;}

}
@media (max-width:480px) {

  .pkLoginBlock {margin:35px 0 0;}

}

I added the code you suggested at the bottom but it did not seem to make a difference. I thought perhaps this earlier bit of code might affect it.

Marek 25 Apr 2019, 16:26

Don’t forget about prestashop cache, try to disable it or just clear

Dione 30 May 2019, 16:56

Hi - I noticed this morning that the address & contact info now spreads across the screen in a line instead of on separate lines. I’m not sure when it changed or if I’m just slow in noticing… Much better, thank you!

Marek 10 Jun 2019, 12:05

You are welcome