-
AuthorPosts
-
June 6, 2018 at 12:59 pm #967820
Hello Kriesi team,
how can I add the category above the title of a single post, like it is shown in the overview – the blog posts grid (see grid in https://www.allesraum.at/).
I have added in this post – https://www.allesraum.at/wohnraeume-planen-beispiele/ – a title above the actual post title, just to make sure you know what I mean…
I am using an Enfold child theme and I can´t find the includes > loop-index.php file like it was suggested in a similar thread… The folder structure of my child theme looks quite different than the parent.
Thanks a lot in advance!
VesnaJune 9, 2018 at 2:57 pm #970421Hey Vesna,
Those files need to be added to the child theme, not that you find them there. And make your changes in the newly added files, and you need to preserve the folder structure. What code are you using?
Best regards,
VictoriaJune 11, 2018 at 12:48 pm #971125Hey Victoria,
thank you for your reply!
I checked again my folders and they seem ok, which means the structure is the same as in the parent.What I did:
1) I downloaded and then made changes to the includes > loop-index.php as Ismael suggested here:2) I uploaded the includes-folder with the only file loop-index.php into my child-theme;
3) In Dashboard in the Quick CSS field I added:
.title-cat {
font-size: 18px;
text-transform: none;
line-height: 1.5;
letter-spacing: normal;
}But I don´t see the Categories above my Post-Titles yet.
Maybe you have an idea what to try next.
Thank you!
VesnaJune 11, 2018 at 3:25 pm #971238Hi Vesna,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look? Please check if the Appearance > Editor is enabled.
Best regards,
VictoriaJune 12, 2018 at 11:16 pm #971945Thank you for your help!
VesnaJune 13, 2018 at 11:50 pm #972546Hi Victoria,
in the meanwhile I was trying also something else…
My posts have a sidebar. But I would like to have coloured sections in the main content that go from the left edge of the screen to the sidebar at the right. I can not use the color section because than the sidebar slides down. This is the page I am testing: https://www.allesraum.at/test-background/
I found the same question here:https://kriesi.at/support/topic/color-section-for-page-with-sidebars/#post-471402
And this image shows exactly what I also would like to achieve: https://imgur.com/KGPJrwj1) I followed these instructions to be able to change elements at all: https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/
2) And I managed to make changes in the Quick CSS field for the https://www.allesraum.at/test-background/ – page, for example to make an “outline”;
3) but whatever I define for the “border” is not visible; is it because in the ALB the options are different (there “border 0 px” is checked for example, default color etc.).Hope you can help me on this also!
VesnaJune 15, 2018 at 2:22 pm #973319Hi Vesna,
Best regards,
VictoriaJune 21, 2018 at 9:10 am #975697Hi Victoria!
Soory, I was doing, fixing etc and obviously changed the urls…
Best regards,
VesnaJune 21, 2018 at 5:34 pm #975879Hi Vesna,
Yes, if you want to have the sidebar, you cannot use color sections or grid row, these are full-width element and they will push the sidebar down.
What other questions do you have at the moment?
Best regards,
VictoriaJune 25, 2018 at 12:53 pm #977423Hi Victoria,
well, I still didn´t solve how to add/show the category above the title of a single post.
I would like it to be like I did it manully in 2 posts:
You can read here in https://kriesi.at/support/topic/how-to-add-the-category-above-the-title-of-a-single-post-in-a-child-theme/#post-971125
what I did…But still, I don´t see the categories automatically.
Thank you for your help!
VesnaJune 25, 2018 at 1:39 pm #977451Hi Vesna,
Credentials did not work for me. Could you please update the credentials?
Best regards,
VictoriaJune 25, 2018 at 2:48 pm #977512of course.
thank you!July 3, 2018 at 8:41 pm #980747Hi Vesna,
You should be running at least php5.6.3 for the code to work properly. Please consider upgrading your php version.
Best regards,
VictoriaNovember 16, 2018 at 12:05 pm #1034404Hi Victoria,
hope you´re fine! I just came back to my project. And I hope we can solve some problems now.
1) I am running php 7 now.
2) And I renamed my child theme into Enfold Child Theme (which I thought I did earlier). I hope I did it right.Now I have a big problem:
Is it right that after renaming my Theme all settings in General Layout (including logo at top right) and css are deleted?
It is a page still in work. So I don´t mind to do the personal Theme layout and settings again. I am just trying to understand what happened.The earlier question is still the same: I would like to be able to see the category above the title of each post; under the title I would like to see the publishing date. I did the posts with Avia Layour Builder.
Thank you in advance,
VesnaNovember 21, 2018 at 12:59 pm #1036031Hi,
1.) Did you change the theme folder name? You can’t change the theme name without losing the options because the dynamic stylesheets and options rely on that, it’s the name that’s saved in your database. You have import or create a backup of the theme options and your css modification first from the theme’s import/export panel before renaming it. You can then export the data back on the same panel.
2.) You have to modify the includes > loop-single.php file if you want to move the post elements around.
Best regards,
IsmaelDecember 21, 2018 at 12:40 pm #1048156Dear Ismael,
I am still dealing with the Child-theme! Can you please help me with that subject first, because I can not find the mistake… I am woking on an Enfold Child Theme; the css is in my eyes correct.
But still, when I go to WP-Dashboard, Appearance, Themes, my Active theme is called again “Enfold”, like the parent. I don´t know where to change that. I am even considering starting from the scratch, making a new Child theme…
Thank you in advance!
VesnaDecember 26, 2018 at 2:09 am #1049047Hi,
Where did you get the child theme? You can download a copy of the child theme directly from here: https://kriesi.at/documentation/enfold/install-enfold-theme/
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.