Home › Forums › Business Club › Just a normal static frontpage
- This topic is empty.
-
AuthorPosts
-
February 8, 2017 at 2:04 pm #357AnonymousInactive
Hi,
Cool theme im working on to see if it fits my needs..
I do have an issue tho..
I like the layout of the frontpage with the picture and 3 “boxes” under.. I really just gave up making it look like that. No matter what, it just enden up spreader out on the page and I never figured out how to get the picture on the frontpage.
So I ended up with a wish for a static frontpage, but that seems not to be possible. When I set the static page, it seems like I can only manage content from the widget menu..
If you could guide me shortly on both solutions I would be happy.
Regards Henrik
February 8, 2017 at 4:27 pm #359Axle ThemesKeymasterHello,
For images to appear, you will have to add featured image for your page/post that you have selected on the widget.
For eg, in the latest news if you have selected a category you will have to set featured image for the post on the category for the image to appear.
Now for your, “Just a normal static frontpage” request. The feature is not available on the theme. (By Just a normal static frontpage I am assuming that you are referring to a page with title, content and its featured image ). But you can create it with a child theme.
First you will have to create a child theme, next you will have to create
front-page.php
on your child theme, now open the file and paste the below given codeHope it helps.
Regards.February 9, 2017 at 7:06 pm #366AnonymousInactiveMaybe I need to read more op on child themes. I found some post about it and what I got from it was that I needed to make a copy of the theme and then modify it. In style.css I renamed the theme so I could see I was activating the right one in the wp admin.
I deleted the content of the existing front-page.php and pasted the code in yo gave me here. It makes no difference at all. Maybe im doing something wrong.
If its just a small thing, please share it or else if you could point me to some guide on how to make a child-theme to work…
February 10, 2017 at 8:12 am #375Axle SupportModeratorHello,
Here are the resources that can help you create a child theme,
https://premium.wpmudev.org/blog/how-to-create-wordpress-child-theme/
https://codex.wordpress.org/Child_Themes
If you find it hard to create a child theme manually you can also use a plugin: https://wordpress.org/plugins/orbisius-child-theme-creator/
Hope this helps.
Regards.February 10, 2017 at 1:04 pm #380AnonymousInactiveI got everything up running and child theme seems fine. I have set a page as static fromtpage, but nothing shows up on the frontpage on the site. Again if I add a widget, that shows up.
Here is what I have done.
Created a child theme with the plug in.
Created a file named front-page.php in the new child theme folder.
Pasted the code you posted into the new file
Made sure the theme is set to use a static frontpage..Site is running fine and changes made to child theme works fine – just not the frontpage..
February 10, 2017 at 2:26 pm #386Axle SupportModeratorHello @sinumsen,
Sorry but we forgot to gave you final piece of code.
Copy this code to your style.css on your child theme.
.home.page #content { display: block !important; }
And this code to your functions.php on your child theme
remove_action( 'business_club_action_before_content', 'business_club_add_front_page_widget_area', 7 );
Hope it helps.
Regards.February 11, 2017 at 3:48 pm #394AnonymousInactiveThanx a lot, that did the trick 🙂
February 13, 2017 at 4:46 am #399Axle SupportModeratorHello @sinumsen,
We are glad that your issue is fixed.
If you have any other issues please do not hesitate to create a new thread.Also we would love it if you could rate our theme here: https://wordpress.org/support/theme/business-club/reviews/#new-post
Regards.
-
AuthorPosts
- You must be logged in to reply to this topic.