- This topic has 5 replies, 2 voices, and was last updated 8 years, 4 months ago by Mahesh.
-
AuthorPosts
-
July 6, 2016 at 7:43 pm #94903alex23Participant
Hi Team,
I really hope you can help me out here, I´m trying to hide some titles from the content site in the middle with custom CSS, but once one title is gone something different changes. Or it is not hiding at all.In example i try to hide comments-title from this page: http://s2.isqueen.de/%d0%be%d1%82%d0%b7%d1%8b%d0%b2%d1%8b/
The following command in CSS is written: #comments-title{display:none;}
But nothing happens…Or I try to remove the category title from this page: http://s2.isqueen.de/category/%d0%b0%d0%b2%d1%82%d0%be%d1%80/
with the follwoing command: .page-header{display:none;}
Also nothing happens…Basically what I try to do is to bring the content from the middle on the same level as the button on the left side from the side menu. So that everything under the main menu is on the same level, also the search bar.
Could you take a look at say what is going wrong?
Regards Alex
July 7, 2016 at 10:56 am #94942MaheshParticipant@alex23:
Hi Alex,Go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS box and add the following CSS:
1. Remove the category title from the page:#content .page-header { display: none; }
2. Hide comments-title from this page:
If you mean to remove the text “ОТЗЫВЫ”, you’ll have to remove it from the content. This is not from title but the content itself.Let me know if any problem.
Regards,
MaheshJuly 7, 2016 at 1:49 pm #94946alex23ParticipantHi Mahesh,
Thank you for your quick answer, the first command worked fine.
For the second command I figured out how to get rid of it – I wanted to remove “6 toughts on “ОТЗЫВЫ”” text and it worked with
#comments-title{display:none;}
after I have removed some other commands from my child theme customm CSS it worked.Could it be that child themes with custom CSS do some unexpected changes?
The other thing was, is there a command which allows me to align all of my content on the top with the left button? Somehow the space between the menu bar and the content of the site is everywhere different.
For this page it worked fine, content and left button are allignd on the top:
http://s2.isqueen.de/category/%d0%b0%d0%b2%d1%82%d0%be%d1%80/I did it with command: #post-269{padding: 0 20px;}
But all other pages have this space in between, in example also the main page:
http://s2.isqueen.de/Do I need to adjust the padding for all pages idividually or is there a superior command which allows me to adjust all of the pages?
Regards
AlexJuly 7, 2016 at 2:22 pm #94948MaheshParticipant@alex23:
Yes, the CSS in child theme may cause the issues too. Try activating the parent theme and check if the issue persists or not. I the issue is no longer seen, it is child theme CSS issue.
For the space in pages, use the following CSS:#content article:first-child { padding-top: 0; } #content article .entry-header { display: none; }
Hope this helps. Let me know if any problem.
Regards,
MaheshJuly 7, 2016 at 2:52 pm #94950alex23ParticipantThanks again, it worked also fine for most of the pages.
But somehow these ones are not affected:
http://s2.isqueen.de/calendar/%d0%bc%d0%b5%d1%80%d0%be%d0%bf%d1%80%d0%b8%d1%8f%d1%82%d0%b8%d1%8f/Probably there is a difference in site articles and blog posts?
Regards,
AlexJuly 8, 2016 at 9:52 am #94987MaheshParticipant@alex23:
Hi Alex,Add the following CSS in Custom CSS:
#content article.format-aside .entry-content, #content article.format-link .entry-content, #content article.format-status .entry-content { padding: 0 !important; } #content article.hentry:first-of-type { padding-top: 0 !important; }
Hope this helps.
In the following page, you have single page navigation at the top.
http://s2.isqueen.de/релакс-девичник-в-горах-сказочной-авс/If you have add styles in you child theme for modifications, may be it has caused the issue. Does the problem happens in Parent theme too?
Regards,
Mahesh -
AuthorPosts
- The topic ‘Exclude several titles and headers’ is closed to new replies.