Just a normal static frontpage

Home Forums Business Club Just a normal static frontpage

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #357
    Anonymous
    Inactive

    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

    #359
    Axle Themes
    Keymaster

    Hello,

    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 code

    Hope it helps.
    Regards.

    #366
    Anonymous
    Inactive

    Maybe 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…

    #375
    Axle Support
    Moderator

    Hello,

    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.

    #380
    Anonymous
    Inactive

    I 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..

    #386
    Axle Support
    Moderator

    Hello @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.

    #394
    Anonymous
    Inactive

    Thanx a lot, that did the trick 🙂

    #399
    Axle Support
    Moderator

    Hello @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.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.