-
AuthorPosts
-
angie00 Friend
angie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
October 20, 2015 at 7:59 pm #706050Our board would like the top menu to be above the slideshow like on this demo template: http://www.joomlart.com/demo/#ja_university
How do we achieve this with Sugite? It doesn’t have to have the tabs etc, they just feel it would be easier for people to see if the menu wasn’t transparent on slideshow. It can keep the same style as on default sugite pages but just be moved above the slideshow.
Also our slideshow is set to 400px however is displaying about 720px height….
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 20, 2015 at 8:23 pm #706118Try This . . . .
Within file path —> /templates/ja_sugite/local/css/themes/school/mod_jaslideshowlite.css
at line 48, modify as follows:
.ja-ss-item {
backface-visibility: hidden;
display: block;
float: left;
left: 0;
margin: 80px 0 0;
min-height: 260px;
overflow: hidden;
position: absolute;
right: 0;
width: 100%;
z-index: 1;
}
SAVE CHANGES – CLEAR CACHE – REFRESH PAGEBetter ??
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 20, 2015 at 8:23 pm #752335Try This . . . .
Within file path —> /templates/ja_sugite/local/css/themes/school/mod_jaslideshowlite.css
at line 48, modify as follows:
.ja-ss-item {
backface-visibility: hidden;
display: block;
float: left;
left: 0;
margin: 80px 0 0;
min-height: 260px;
overflow: hidden;
position: absolute;
right: 0;
width: 100%;
z-index: 1;
}
SAVE CHANGES – CLEAR CACHE – REFRESH PAGEBetter ??
angie00 Friendangie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
angie00 Friendangie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 27, 2015 at 2:46 pm #719220<em>@angie00 499549 wrote:</em><blockquote>Thank you @TomC . That did it, but we do have a concern about it. If we update the template or ja-slideshow, will those changes disappear? [/quote]
It may, which is why it is always a sound practice to perform a complete backup of your entire site before any update/upgrade.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 27, 2015 at 2:46 pm #752953<em>@angie00 499549 wrote:</em><blockquote>Thank you @TomC . That did it, but we do have a concern about it. If we update the template or ja-slideshow, will those changes disappear? [/quote]
It may, which is why it is always a sound practice to perform a complete backup of your entire site before any update/upgrade.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 27, 2015 at 2:58 pm #719223<em>@angie00 499549 wrote:</em><blockquote>
Also is there a way to make the menu “sticky” so it follows down the page if you are scrolling?</blockquote>You can try this . . .
FIRST – IMPORTANT:
COPY THE ORIGINAL CSS CODES we’re about to modify into a WordPad document ro something – just in case you want to revert back to the original.Within file path —> /templates/ja_sugite/local/css/themes/school/bootstrap.css
at line 415, modify as follows:
.container {
margin-left: auto;
margin-right: auto;
padding-left: 20px;
padding-right: 20px;
position: fixed;
}Then, at line 432, modify as follows:
.container {
width: 100%;
}Then, because there is a strange transition effect for the header . . . . .
Within file path –> /modules/mod_jaslideshowlite/assets/css/animate.css
at line 13, modify as follows:
.animate {
transition: all 1200ms cubic-bezier(0.25, 0.1, 0.25, 1) 0ms;
}
SAVE CHANGES – CLEAR CACHE – REFRESH PAGEBetter ??
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 27, 2015 at 2:58 pm #752956<em>@angie00 499549 wrote:</em><blockquote>
Also is there a way to make the menu “sticky” so it follows down the page if you are scrolling?</blockquote>You can try this . . .
FIRST – IMPORTANT:
COPY THE ORIGINAL CSS CODES we’re about to modify into a WordPad document ro something – just in case you want to revert back to the original.Within file path —> /templates/ja_sugite/local/css/themes/school/bootstrap.css
at line 415, modify as follows:
.container {
margin-left: auto;
margin-right: auto;
padding-left: 20px;
padding-right: 20px;
position: fixed;
}Then, at line 432, modify as follows:
.container {
width: 100%;
}Then, because there is a strange transition effect for the header . . . . .
Within file path –> /modules/mod_jaslideshowlite/assets/css/animate.css
at line 13, modify as follows:
.animate {
transition: all 1200ms cubic-bezier(0.25, 0.1, 0.25, 1) 0ms;
}
SAVE CHANGES – CLEAR CACHE – REFRESH PAGEBetter ??
angie00 Friendangie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
angie00 Friendangie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
October 30, 2015 at 3:40 am #720294Hi @angie00,
You can open file templatesja_sugitejsscript.js and look for this code :
$('.ja-header').on ('hover', function () {
$('html').removeClass ('scrollDown scrollUp').addClass ('hover');
scrollDir = 0;
})scrollToggle = function () {
$('html').removeClass ('hover');
if (scrollDir == 1) {
$('html').addClass ('scrollDown').removeClass ('scrollUp');
} else if (scrollDir == -1) {
$('html').addClass ('scrollUp').removeClass ('scrollDown');
} else {
$('html').removeClass ('scrollUp scrollDown');
}
$('html').addClass ('animating');
setTimeout(function(){ $('html').removeClass ('animating'); }, 1000);
}then comment it out as below (insert /* in the beginning and */ at the end)
/*
$('.ja-header').on ('hover', function () {
$('html').removeClass ('scrollDown scrollUp').addClass ('hover');
scrollDir = 0;
})scrollToggle = function () {
$('html').removeClass ('hover');
if (scrollDir == 1) {
$('html').addClass ('scrollDown').removeClass ('scrollUp');
} else if (scrollDir == -1) {
$('html').addClass ('scrollUp').removeClass ('scrollDown');
} else {
$('html').removeClass ('scrollUp scrollDown');
}
$('html').addClass ('animating');
setTimeout(function(){ $('html').removeClass ('animating'); }, 1000);
}
*/1 user says Thank You to Adam M for this useful post
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
October 30, 2015 at 3:40 am #753306Hi @angie00,
You can open file templatesja_sugitejsscript.js and look for this code :
$('.ja-header').on ('hover', function () {
$('html').removeClass ('scrollDown scrollUp').addClass ('hover');
scrollDir = 0;
})scrollToggle = function () {
$('html').removeClass ('hover');
if (scrollDir == 1) {
$('html').addClass ('scrollDown').removeClass ('scrollUp');
} else if (scrollDir == -1) {
$('html').addClass ('scrollUp').removeClass ('scrollDown');
} else {
$('html').removeClass ('scrollUp scrollDown');
}
$('html').addClass ('animating');
setTimeout(function(){ $('html').removeClass ('animating'); }, 1000);
}then comment it out as below (insert /* in the beginning and */ at the end)
/*
$('.ja-header').on ('hover', function () {
$('html').removeClass ('scrollDown scrollUp').addClass ('hover');
scrollDir = 0;
})scrollToggle = function () {
$('html').removeClass ('hover');
if (scrollDir == 1) {
$('html').addClass ('scrollDown').removeClass ('scrollUp');
} else if (scrollDir == -1) {
$('html').addClass ('scrollUp').removeClass ('scrollDown');
} else {
$('html').removeClass ('scrollUp scrollDown');
}
$('html').addClass ('animating');
setTimeout(function(){ $('html').removeClass ('animating'); }, 1000);
}
*/1 user says Thank You to Adam M for this useful post
angie00 Friendangie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
October 30, 2015 at 4:22 pm #720531 -
AuthorPosts
This topic contains 17 replies, has 3 voices, and was last updated by Adam M 9 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum