- This topic has 17 replies, 2 voices, and was last updated 7 years, 11 months ago by Mahesh.
-
AuthorPosts
-
October 5, 2016 at 12:10 pm #100899FlohParticipant
Hi,
i have two questions1)i have a problem with the featured content. I don´t want the image of the page to be displayed at the featured content excerpt.
I already tried out the following custom css:/* Featured content image*/
#featured-content .featured-content-image {
display: none;
line-height: 0;
}
.single .featured-image { display: none; }
.archive .featured-image { display: none; }
.single #header-image { display: none; }
.entry-container .wp-caption { display: none; }but nothing works out. I just want the featured posts/pages section without images. At the pages itself the image of the page should stay as it is.
url: dogz.flohmi.at
2)
at the place where the logo is, we want an image too. so it should be the logo AND an image (like a background banner). where can I do this?Thank you very much!
October 5, 2016 at 1:05 pm #100903MaheshParticipant@floh:
1)i have a problem with the featured content. I don´t want the image of the page to be displayed at the featured content excerpt.
=> Go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS box and add the following CSS:#featured-content .featured-homepage-image { display: none; }
2. at the place where the logo is, we want an image too. so it should be the logo AND an image (like a background banner)
=> Do you mean to add a background image to the header? If so, add the following CSS:#masthead { background-image: url("link to your desired image"); background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; }
Note: Please replace link to your desired image in the above code with you desired image url.
Let me know if any problem.
Regards,
MaheshOctober 14, 2016 at 10:29 am #101451FlohParticipantHi Mahesh,
i tried so many times to post here my answer but it didn´t work.
i changed the custom css the way you proposed but the banner won´t show up.
her is my code:
/* head banner*/
#masthead {
background-image: url(buddha.jpg;);
background-position: 80% 50%;
background-repeat: no-repeat;
background-size: 100% 100%;
}what did i wrong?
October 14, 2016 at 10:31 am #101452FlohParticipanteven the change of the image-url doesn´t work out.
/* head banner*/
#masthead {
background-image: url(..wp-content/themes/catch-base/images/headers/buddha.jpg;);
background-position: 80% 50%;
background-repeat: no-repeat;
background-size: 80px 60px;
}October 17, 2016 at 10:00 am #101606MaheshParticipant@floh: Sorry for the late reply. Please post in your site url. You’ll need to put the full path of the image.
Regards,
MaheshOctober 17, 2016 at 10:20 am #101610FlohParticipantHi Mahesh,
that doesn´t work either….
/* head banner*/
#masthead {
background-image: url(dogz.flohmi.at/wp-content/themes/catch-base/images/headers/0245_banner.jpg;);
background-position: 80% 50%;
background-repeat: no-repeat;
background-size: 80px 60px;
}I don´t know why…
thank your again in advance!
October 17, 2016 at 11:05 am #101615MaheshParticipant@floh: Try adding the following CSS:
#masthead { background-image: url("http://dogz.flohmi.at/wp-content/themes/catch-base/images/headers/0245_banner.jpg"); background-position: 80% 50%; background-repeat: no-repeat; background-size: 80px 60px; }
Regards,
MaheshOctober 17, 2016 at 11:20 am #101616FlohParticipantDear Mahesh,
thank you now it works!
have a great day!
regards,
flohOctober 17, 2016 at 12:37 pm #101620December 19, 2016 at 3:54 pm #105561FlohParticipantDear Mahesh,
sorry to bother you, but after the change to a new domain, there are some probs on the design. the banner image is not shown and the links at the very bottom of the page are blue instead of the color given in the custom css. it all worked fine already before the change of the domain.
can you please help me?
thank you so much!
December 19, 2016 at 4:32 pm #105564FlohParticipanti
December 19, 2016 at 4:44 pm #105565MaheshParticipant@floh: You’ll need to disable the plugin. Please delete the plugin, the very plugin that you are using to have the under construction page through FTP or cpanel. Its the only way.
Regards,
MaheshDecember 19, 2016 at 5:08 pm #105567FlohParticipanti deleted the plugin and can login now. but the other two problems still extists.
thank you!
December 20, 2016 at 9:44 am #105617MaheshParticipant@floh: Please replace the masthead CSS in your custom CSS with the following CSS:
#masthead { background-image: url("http://www.dogz.at/wp-content/themes/catch-base/images/headers/bannerwork3.jpg"); background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; }
For link color in footer, add the following CSS:
#site-generator a { color: #ff00ff; }
Note: Please choose the desired color.
Regards,
MaheshDecember 20, 2016 at 10:57 am #105623FlohParticipantDear Mahesh,
thank you very much for your help. everything worked out fine except the links inside the text (at posts and pages). they are still blue. they where in the correct color already before the change of the domain, i dont´t know why they changed now and how to fix it.could you help me please once more at this point?
thank you so much!
flohDecember 20, 2016 at 5:04 pm #105631December 20, 2016 at 5:14 pm #105633FlohParticipantahhhh so it´s been the “.” that corrupted my css code. thank you!
have a supernice and cosy christmas and a very happy new year! you helped me so much so far, thank you!
you´re great!
best regards and season greetings
flohDecember 21, 2016 at 10:15 am #105677 -
AuthorPosts
- The topic ‘Hide Image from featured content and Banner Image in Header’ is closed to new replies.