Home › Forums › Pro Themes › Magpaper Pro › New to Remove image from header
- This topic has 4 replies, 3 voices, and was last updated 2 years, 7 months ago by Omar Arouna.
-
AuthorPosts
-
October 24, 2021 at 12:12 am #159501Omar ArounaParticipant
I need to remove header image from blog pages from all menu and sub menu. And only keep it for the home page.
I used the CCS with the command line .blog div#page-site-header
display: none;
}But it didn’t work- Here is the website
http://omara114.sg-host.comCould you please provide me with the exact command as how to do it?
ThanksOctober 24, 2021 at 7:04 am #159517PsinkKeymasterHello Omar,
Please try this CSS
.archive #page-site-header, .blog #page-site-header { background-image: none !important; padding: 100px 0; } #page-site-header .page-title { font-size: 32px; } @media screen and (max-width: 767px){ #page-site-header .page-title, #hero-section .entry-title, .section-title { font-size: 22px; } }
Hope this helps
If you have any confusion please let us know
October 25, 2021 at 12:06 am #159524Omar ArounaParticipantThank you for the fix. It works but only partially. I was able to reduce the image header to an acceptable size by reducing the padding to 40px. Now I have a black banner as image with the page header.
I would like to be able to change the color of that banner to a color that blends better with my site or or make it transparent and change the page header to another color than white.On another matter, on the footer as well I need to be able to change the color of the footer image from black to another color- I am talking about the part where the “information” “quick links” are displayed. I need to change the color to a color of my choosing and reduce the size.
October 25, 2021 at 2:06 am #159532sanamKeymaster@OAROUNA, could you please replace the above CSS that we have provided you previously with the new one.
i.e:Old CSS
.archive #page-site-header, .blog #page-site-header { background-image: none !important; padding: 100px 0; } #page-site-header .page-title { font-size: 32px; } @media screen and (max-width: 767px){ #page-site-header .page-title, #hero-section .entry-title, .section-title { font-size: 22px; } }
New CSS
.archive #page-site-header, .blog #page-site-header, .search #page-site-header{ background-image: none !important; padding: 100px 0; } #page-site-header .page-title { font-size: 32px; } @media screen and (max-width: 767px){ #page-site-header .page-title, #hero-section .entry-title, .section-title { font-size: 22px; } } body:not(.single) #page-site-header .overlay { background-color: #000; opacity: unset; } .single-post #page-site-header .overlay { background-color: #000; opacity: 0.1; } #page-site-header .overlay { background-color: #0AFFFF; opacity: unset; } .footer-widgets-area { background-color: #000000a3; }
Also, please visit this site https://www.computerhope.com/htmcolor.htm for color code references to change the background color as per your requirement.
Hope this helps
If you have any confusion please let us know.
October 25, 2021 at 7:47 am #159536Omar ArounaParticipantThanks perfect fit. it works.
Best regards -
AuthorPosts
- You must be logged in to reply to this topic.