NamelessMC

Internet Explorer

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

[Tutorial] An awesome carousel slider to your website.
Started by badbojus

_Pear

_Pear

Member
Joined
15 Aug 2016
Last Seen
08 Jan 2017
Topics
0
Posts
18
badbojus said:

All in all you are missing some divs 

and more stuff... 

Easiest will be if i give you my index.tpl file. So you can look at it and edit your, else edit my one. 

Here's the download link: http://www.filedropper.com/index_25

Also don't forget to make your slides, im giving you these just to test how it will look, after that you can make your own same size (actualy you can make any size you want) 

Here's the slides: 

https://s16.postimg.org/kgmy0hnwh/slide1.jpg

https://s16.postimg.org/d1xm8420x/slide2.jpg

https://s16.postimg.org/ofk5jbcjl/slide3.jpg

 

Hope this helps. 

 

Thank you so much, but for future reference, could you tell me what was the error(s) in the original template file? I might want to know this if I'm ever changing the template :)

<p style="text-align: center;"><img alt="" src="http://i.imgur.com/2DzdoLv.png" style="height:115px; width:687px" /></p>
_Pear · over 7 years ago
badbojus

badbojus

Contributor Member
Joined
15 Aug 2016
Last Seen
30 Oct 2017
Topics
17
Posts
60

I a glad you got it working. 

Somehow you deleted to much code, which was not needed haha :P like at the begining was mising this: 

<div class="container">
  <br /><br />
  {$SESSION_FLASH}

badbojus · over 7 years ago
badbojus

badbojus

Contributor Member
Joined
15 Aug 2016
Last Seen
30 Oct 2017
Topics
17
Posts
60

Else other code looks ok. 

badbojus · over 7 years ago
_Pear

_Pear

Member
Joined
15 Aug 2016
Last Seen
08 Jan 2017
Topics
0
Posts
18
badbojus said:

I a glad you got it working. 

Somehow you deleted to much code, which was not needed haha :P like at the beginning

Ok, thank you but about the I got it working again, I didn't change the banner image or stuff like that but it somehow got small again. Also, thank you for the progress and the server information module :P. But, this what's on my website right now :I

<p style="text-align: center;"><img alt="" src="http://i.imgur.com/2DzdoLv.png" style="height:115px; width:687px" /></p>
_Pear · over 7 years ago
badbojus

badbojus

Contributor Member
Joined
15 Aug 2016
Last Seen
30 Oct 2017
Topics
17
Posts
60
hello again, sorry for the late answer. Had to fix 3 cars at work today... if you use my index template and if you have not messed with carousel code and if banners is correct size then there can be only one readon tbh, try to clear you chase on your browser (ctrl + f5) and also clear cookies. and refresh your page, i bet this is what makes you load your website incorrect. Tell me gow it goes, if you have any more problems i am here. :)
badbojus · over 7 years ago
_Pear

_Pear

Member
Joined
15 Aug 2016
Last Seen
08 Jan 2017
Topics
0
Posts
18
badbojus said: hello again, sorry for the late answer. Had to fix 3 cars at work today... if you use my index template and if you have not messed with carousel code and if banners is correct size then there can be only one readon tbh, try to clear you chase on your browser (ctrl + f5) and also clear cookies. and refresh your page, i bet this is what makes you load your website incorrect. Tell me gow it goes, if you have any more problems i am here. :)

Nope, it didn't change anything. I tested this on an another computer that never been on my website and it show the same thing. Even other users get the same thing and they have already tried to clear their caches and their cookies. Also, it's ok if you're really busy with your jobs and stuff, I'll try to be impatience :)

<p style="text-align: center;"><img alt="" src="http://i.imgur.com/2DzdoLv.png" style="height:115px; width:687px" /></p>
_Pear · over 7 years ago
badbojus

badbojus

Contributor Member
Joined
15 Aug 2016
Last Seen
30 Oct 2017
Topics
17
Posts
60

i just can't understand then, how it is possible. 

badbojus · over 7 years ago
_Pear

_Pear

Member
Joined
15 Aug 2016
Last Seen
08 Jan 2017
Topics
0
Posts
18
badbojus said:

i just can't understand then, how it is possible. 

Blame whoever invented HTML and CSS? Maybe we should just wait for samerton to add a official sliding banner thing to the template in the next update :I

 

OH MY GOD, I just found out why the image was small... The image size itself wasn't the correct size it should have been (1920x280) and for some reason, the images you gave me was like somewhere 800x800. Well, finding the most simple thing is the hardest thing to do.

 

The only problem is that the first text above the caption seem small, how can I make it bigger?

<p style="text-align: center;"><img alt="" src="http://i.imgur.com/2DzdoLv.png" style="height:115px; width:687px" /></p>
_Pear · over 7 years ago
badbojus

badbojus

Contributor Member
Joined
15 Aug 2016
Last Seen
30 Oct 2017
Topics
17
Posts
60

Just use h1,h2,h3 or html font size. 

badbojus · over 7 years ago