- This topic has 11 replies, 2 voices, and was last updated 6 years, 10 months ago by natural1.
- AuthorPosts
- March 8, 2017 at 5:41 pm #2252natural1Participant
Hi there
Thanks for the awesome theme you guys made!
I’m doing some finishing touches to the website I’m currently working on, and mainly the homepage. I’ve added a few lines of custom CSS (thanks to other topics on this forum) and also reordered one or two sections on the homepage.
Now I’m using the portfolio section only for text, so I’m leaving out the real use of a portfolio, because I don’t really need it. Now the thing is, that when there’s only text the space above the text (to the top border of the section) is not the same length as the space underneath the text (to the bottom border). I guess it has to do with the portfolio that is still there, but is not being used. I tried to add custom css to change the height of the section, which worked, but not that great: it looks good on pc, but on mobile devices it cuts of some text.
I don’t use any categories in my site, so in the customizer no category is selected (although there is still a category “uncategorized”, but I don’t use it). But when I click to add the “uncategorized”, it adds a button in the portfolio section and all of the things are beautifully spaced. But I don’t need that button.My question is, is there a way to solve this? Can I “delete” the real portfolio use of the section?
Kind regards, and thanks in advance!
March 8, 2017 at 5:46 pm #2253natural1ParticipantAnd it’s the same thing for the counter section actually. I don’t use the counters, just a section title and text (subtitle). The space between text and top border of the section is smaller than the space between text and bottom border of the section.
Again: I think this has to do with the counters I don’t use.
Any way to solve this?
Thanks again!
March 13, 2017 at 9:35 pm #2334HashKeymasterThere is an option to show or hide the section. So please make the use of this option. If you want to show title/subtitle and hide other content then make use of CSS as below
.your_class{display:none}
March 14, 2017 at 5:54 pm #2363natural1ParticipantThanks for the reply!
I tried to find the class thing, but either I can’t seem to find the correct class or it isn’t working…
I’ll add a screenshot with what I mean:
March 14, 2017 at 8:56 pm #2371HashKeymasterTry with this CSS
With this, your portfolio section and counter section won’t display apart form title and subtitle..ht-portfolio-cat-name-list,
ht-portfolio-post-wrap,
.ht-team-counter-wrap{display:none}March 15, 2017 at 3:02 pm #2374natural1ParticipantThanks, that’s indeed the CSS I added, but apparently it doens’t work…
Are there any other solutions?
Thanks again!
March 15, 2017 at 7:29 pm #2378HashKeymasterThere is no other solution other than to edit the core codes
I missed a . in the above code. Here is code again
.ht-portfolio-cat-name-list, .ht-portfolio-post-wrap, .ht-team-counter-wrap{display:none}
March 15, 2017 at 9:16 pm #2380natural1ParticipantI noticed that 🙂 but even with the dot it doesn’t have any effect at all.
It only removes the categories button and the counters when they are visible, but (whether they are visible or not) it doesn’t change the dimensions or the position of the text in the sections.Seems like nothing can be done?
March 16, 2017 at 8:04 pm #2394HashKeymasterThat code should have fixed your issue. Can you show me your website?
March 16, 2017 at 8:39 pm #2400natural1ParticipantI noticed that there was an update available for the theme, but as I didn’t want to ruin the layout I got going right now. So I used a local wordpress site (with XAMPP and Bitnami wordpress module) to see whether or not the update would solve the issue.
I downloaded a backup from the site, uploaded it to my local XAMPP/Bitnami site, did the theme update, and added the additional CSS code.
The answer is: no, it didn’t solve the issue.If you could help me solve it, that’d be great.
March 16, 2017 at 9:25 pm #2402HashKeymasterHere is the additional CSS and we can see that you have removed our footer credit which is not good.
#ht-counter-section .ht-section-title-tagline,
#ht-portfolio-section .ht-section-title-tagline{margin-bottom:0}March 16, 2017 at 11:12 pm #2405natural1ParticipantThanks, that worked out just fine! I forgot about the margins, so eventually I could have figured it out by myself. Still your help is much appreciated!
About the footer credit: that was something the client specifically asked for.
I said to him that it was best to leave it there, but he really wanted it to be gone.
I figured that if somebody would wonder what theme it is, it is easily traceable via the source code or even “what WP theme is this”-sites (like this one: http://whatwpthemeisthat.com).
So I hope you are not offended by it.Thanks again anyway for all the help!
- AuthorPosts
- You must be logged in to reply to this topic.