xoops forums

Hadesteam

Not too shy to talk
Posted on: 2017/6/8 12:20
Hadesteam
Hadesteam (Show more)
Not too shy to talk
Posts: 164
Since: 2011/9/5 1
#1

Static html page on xbootstrap - subdomain

Hey,
I need to create 1 subpage in html based on xbootstrap template. This should be the index.html page in the subdomain "atlas" the address will be: kulturystyka.org.pl/atlas/

Is it enough that after creating the "atlas" subdomain I put into it a directory with a xbootstrap theme? Of course, removing all the lines from the file theme.html include: footer / left, center, right, block?

Bleekk

Theme Designer
Posted on: 2017/6/8 12:35
Bleekk
Bleekk (Show more)
Theme Designer
Posts: 934
Since: 2002/12/14
#2

Re: Static html page on xbootstrap - subdomain

you have to rename it to index.html and link all CSS and JS files to the correct location in you xbootstrap theme folder

Hadesteam

Not too shy to talk
Posted on: 2017/6/8 14:13
Hadesteam
Hadesteam (Show more)
Not too shy to talk
Posts: 164
Since: 2011/9/5 1
#3

Re: Static html page on xbootstrap - subdomain

OK thanks Bleekk, but if i change everything to correct css/tpl files url The <include ... / slider.tpl etc function did not work
<{includeq file="xbootstrap/tpl/slider.tpl"}>
So instead use it:

<div w3-include-html="xbootstrap/tpl/nav-menu.tpl"></div

<
script>
w3.includeHTML();
</
script>
and it works, just look at https://www.kulturystyka.org.pl/atlas/ so i need change the rest <include>

Hadesteam

Not too shy to talk
Posted on: 2017/6/8 15:47
Hadesteam
Hadesteam (Show more)
Not too shy to talk
Posts: 164
Since: 2011/9/5 1
#4

Re: Static html page on xbootstrap - subdomain

I have only one problem: nav menu is no moving when scrolling down ... :(

Hadesteam

Not too shy to talk
Posted on: 2017/6/8 21:38
Hadesteam
Hadesteam (Show more)
Not too shy to talk
Posts: 164
Since: 2011/9/5 1
#5

Re: Static html page on xbootstrap - subdomain

I have just finished, you can see and evaluate, it is an atlas of strength training: https://www.kulturystyka.org.pl/atlas/

Please help, because the nav menu does not follow the user while scrolling down the page. Can anyone see my source code in the site and will know where is the error?

dbman

Friend of XOOPS
Posted on: 2017/6/12 12:45
dbman
dbman (Show more)
Friend of XOOPS
Posts: 172
Since: 2005/4/28
#6

Re: Static html page on xbootstrap - subdomain

You are missing the <body> tag in your template. Check the fixed top navbar example source from the bootstrap documentation site (http://getbootstrap.com/examples/navbar-fixed-top/)

aerograf

Quite a regular
Posted on: 2017/6/12 13:08
aerograf
aerograf (Show more)
Quite a regular
Posts: 204
Since: 2017/1/7 1
#7

Re: Static html page on xbootstrap - subdomain

Quote:

Hadesteam wrote:
I have just finished, you can see and evaluate, it is an atlas of strength training: https://www.kulturystyka.org.pl/atlas/

Please help, because the nav menu does not follow the user while scrolling down the page. Can anyone see my source code in the site and will know where is the error?

Put the menu css: position: fixed;