Theme Business-Casual

User avatar
Herk
Sr. Bludit
Posts: 38
Joined: Wed Aug 19, 2015 8:31 am

I modified this theme to our beautiful blog:)
https://github.com/Dipchikov/Business-Casual
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Nice work, if you want, push your theme here: https://github.com/dignajar/bludit-themes
User avatar
Herk
Sr. Bludit
Posts: 38
Joined: Wed Aug 19, 2015 8:31 am

No problem!
hwu
Ssr. Bludit
Posts: 21
Joined: Sun Nov 22, 2015 8:47 pm

Nice and simple! And very fast if you compress the background picture. ;)
User avatar
Herk
Sr. Bludit
Posts: 38
Joined: Wed Aug 19, 2015 8:31 am

Thank for advice. I will compress background picture.
Cryss
Ssr. Bludit
Posts: 18
Joined: Thu Dec 31, 2015 6:34 pm
Location: Germany
Contact:

Hi Herk!


I am using the theme for my blog. Thanks for your work.
I have tried to find a way to show a tag cloud, but I am completely lost. Total php beginner. How can I add a tag list (optionally with the number of posts in ()) to the theme? Can you give me a hint? I want it to be set between the first post and the nav bar.


Thanks,
Chris


PS: Is it possible to set a post sticky so that it is always shown at the top?
User avatar
Herk
Sr. Bludit
Posts: 38
Joined: Wed Aug 19, 2015 8:31 am

Cryss wrote:Hi Herk!


I am using the theme for my blog. Thanks for your work.
I have tried to find a way to show a tag cloud, but I am completely lost. Total php beginner. How can I add a tag list (optionally with the number of posts in ()) to the theme? Can you give me a hint? I want it to be set between the first post and the nav bar.


Thanks,
Chris


PS: Is it possible to set a post sticky so that it is always shown at the top?
Sorry to disappoint you but I also beginner for php.
For a long time I am looking a way to score tags in this theme but without success.
If anyone help us. I will be very happy !!!

I am looking for code like this but for tags
<?php
echo '<li><a href="'.$Site->homeLink().'">'.$Language->get('Home').'</a></li>';

$parents = $pagesParents[NO_PARENT_CHAR];
foreach($parents as $Parent) {
echo '<li><a href="'.$Parent->permalink().'">'.$Parent->title().'</a></li>';
}

?>
User avatar
Herk
Sr. Bludit
Posts: 38
Joined: Wed Aug 19, 2015 8:31 am

New home php
[attachment=0]2.jpg[/attachment/]
Just rename home-2.php to home.php
Attachments
2.jpg
2.jpg (213.84 KiB) Viewed 10059 times
42a
Jr. Bludit
Posts: 6
Joined: Mon Aug 14, 2017 4:36 pm

The plugin contact is not working with that theme.
See the screenshot
bludit_contact_business-c_error.jpg
bludit_contact_business-c_error.jpg (32.58 KiB) Viewed 10019 times
Update:

I copy the contact.php to the theme folder bl-themes/Business-Casual/php and edit it:
Some <br> between the fields and I use fontawesome.

Code: Select all

<?php 
/**
 *  Contact layout
 .
 .
 .  
 
 →NEW→ <div class="col-lg-12 text-center">
<form method="post" action....

</form>
 →NEW→ </div>
But the sent info box (should be a green box) is not displayed. :roll:
With other themes it works
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

The CSS of the theme breaks the form.

This is also the case when showing the success message. It works, but cannot be seen (you can see it with the developer tools of your browser).

Instead of <div class="col-lg-12 text-center"> I recommend to use your own CSS.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Post Reply