Lis Koduje Theme

Author

Webstie - liskoduje.pl
Facebook - facebook.com/liskoduje
Behance - behance.net/marcinlis
Dribbble - dribbble.com/marcinlis
Invision Community - invisioncommunity.com/profile/565150-lis-koduje


If You like my work then You can leave your opinion about it in a IPS Marketplace.

Install theme

1. Go to ACP -> Customization (Brush icon) > Themes -> Add Theme -> Upload Theme -> Choose a file from XML THEME
1a. If you can't upload a files larger than 2MB, do one of the following instructions 2a or 2b and repeat point 1.


2a. Open php.ini file
Find these lines:
upload_max_filesize = 2M
post_max_size = 8M
Change values like in below example or other values larger than file what you need to upload.
upload_max_filesize = 256M
post_max_size = 512M

2b. Add in .htaccess
php_value upload_max_filesize 256M
php_value post_max_size 512M

How to correct groups

Theme uses a custom group look for some elements. So, how to add correctly groups?

Best practice is add prefix lkgroup_ to class name before group name. Prefix lkgroup_ is required to correctly work. Example below.


This should a look like below. Name group Administrator class name is lkgroup_administrator.


You should customize groups in Themes -> Edit HTML/CSS -> CSS Tab -> core -> front -> custom -> liskoduje_groups.css
Below example CSS code for group.

/*
 * Administrator
 */

/* Text */
.lkgroup_administrator {
    color: #e82a2a; /* Group text color */
}

/* Block */
.lkgroup_block_administrator { /* For styling block group use prefix lkgroup_block_ */
    background: #e82a2a; /* Group backgroud color */
    color: #fff; /* Group text color */
}

lkgroup_block_ is generated automatically on site.

You have a problem with this? Tell me, I will do it for you.

Install blocks with articles

IPS Pages is required.

Install first a templates for blocks.
1. Go to Pages -> Templates -> Upload Templates -> Choose a file from ARTICLE TEMPLATES


Now you can add a custom blocks.
2. Go to Pages -> Blocks -> Create New Block -> Feed from Articles


3a. Details Tab -> Template Key -> Choose from below


3b. Content Tab -> Template -> Choose from below



Articles Slide A
Details -> Template Key: lk_block_articles_slide_a
Content -> Template: lk_articles_slide_a

Articles Slide B
Details -> Template Key: lk_block_articles_slide_b
Content -> Template: lk_articles_slide_b

Main Articles Block
Details -> Template Key: lk_block_articles_block
Content -> Template: lk_articles_block

Footer Articles Block
Details -> Template Key: lk_block_articles_footer
Content -> Template: lk_articles_footer

Remember to enable blocks in theme settings.

Copyright © 2017 - Lis Koduje