NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Bug Own theme
Started by GamerSK

GamerSK

GamerSK

Member
Joined
20 Jan 2018
Last Seen
24 Jan 2018
Topics
1
Posts
2
Hi guys,

I have some problem with creating own theme.
I copyed Default theme and start rewriting the code but when I edit template.php and use for example this (defined('CONFIG_PATH') ? CONFIG_PATH : '') . '/custom/templates/Swampy/css/bootstrap.min.css', it shows this https://ctrlv.cz/BXQ2 instead this https://ctrlv.cz/nfjP. I can have it like in default but I need change template.php to (defined('CONFIG_PATH') ? CONFIG_PATH : '') . '/custom/templates/Default/css/bootstrap.min.css', but this solution is bad for me
GamerSK · over 6 years ago · Last edited: over 6 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
01 May 2024
Topics
41
Posts
1050
Make sure the version of bootstrap.min.css in your custom theme matches the default template; in pre-release 3 the version is v4 alpha-6, and in the latest code the version is v4 beta-2.
Samerton · over 6 years ago
GamerSK

GamerSK

Member
Joined
20 Jan 2018
Last Seen
24 Jan 2018
Topics
1
Posts
2
So I can't use newest version of bootstrap
GamerSK · over 6 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
01 May 2024
Topics
41
Posts
1050
You can, but you need to update all the template files (every single file in custom/templates/template) to use the updated components.
Samerton · over 6 years ago