1
Hadesteam
Static html page on xbootstrap - subdomain
  • 2017/6/8 12:20

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


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?

2
Bleekk
Re: Static html page on xbootstrap - subdomain
  • 2017/6/8 12:35

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


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

3
Hadesteam
Re: Static html page on xbootstrap - subdomain
  • 2017/6/8 14:13

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


OK thanks Bleekk, but if i change everything to correct css/tpl files url The
<{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

4
Hadesteam
Re: Static html page on xbootstrap - subdomain
  • 2017/6/8 15:47

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


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

5
Hadesteam
Re: Static html page on xbootstrap - subdomain
  • 2017/6/8 21:38

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


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?

6
dbman
Re: Static html page on xbootstrap - subdomain
  • 2017/6/12 12:45

  • dbman

  • Friend of XOOPS

  • Posts: 172

  • Since: 2005/4/28


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

7
aerograf
Re: Static html page on xbootstrap - subdomain
  • 2017/6/12 13:08

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


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;

Login

Who's Online

415 user(s) are online (330 user(s) are browsing Support Forums)


Members: 0


Guests: 415


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits