Home › Forums › Aside WordPress Theme › How to fix the content like in the video "portfolio post"
- This topic has 8 replies, 4 voices, and was last updated 11 years, 9 months ago by
Althea17.
-
AuthorPosts
-
June 18, 2014 at 7:34 pm #3663
visblu_fr
ParticipantHi,
First, thanks you, Aside is a nice work.
How can I fix (no scroll) the content as we can see in your video guide “portfolio post” ?
It seems that is supported.Best regards,
Julien A.
June 19, 2014 at 4:22 am #3670Johnny
ParticipantHi, try this please: open file js/custom.theme.js and find :
`//gallery info wrap
if(_info_height > _scroll_height){
_info_target_top = _info_height – _scroll_height;
}if(_info_target_top && _scroll_top > _info_target_top){
setTimeout(function(){
jQuery(‘.gallery-info-wrap’).css({
‘position’: ‘relative’,
‘top’: _scroll_top – _info_target_top
});
}, 10);
}else if(_info_height < _scroll_height){ setTimeout(function(){ jQuery('.gallery-info-wrap').css({ 'position': 'relative', 'top': _scroll_top }); }, 10); }else{ setTimeout(function(){ jQuery('.gallery-info-wrap').css({ 'position': 'relative', 'top': 'auto' }); }, 10); }` comment or remove it, BestJune 19, 2014 at 10:33 am #3672visblu_fr
ParticipantThis reply has been marked as private.June 20, 2014 at 5:57 am #3682Johnny
ParticipantHi, paste your site url here, I will check it later.
Thank you!June 20, 2014 at 2:00 pm #3689visblu_fr
ParticipantMerci
June 20, 2014 at 11:53 pm #3692Johnny
Participanthi, please try adding this codes to file style.css at the bottom:
.gallery-info-wrap{position:fixed;right:0px;padding-left:120px}
BestSeptember 9, 2014 at 5:40 am #4472Althea17
ParticipantI tried to use that code on my child theme, but it’s not working. Here’s a picture for reference:
Am I missing something?
September 9, 2014 at 9:51 am #4477Hi,
please download the file, unzip it.
try to replace to aside theme folder(not child theme):
– js/cuntom.theme.js
– style.cssif it does not work, please leave your ftp by “Set as private reply”.
Best,Bwsm
September 13, 2014 at 5:55 am #4527Althea17
ParticipantNever mind, problem solved! I just saw the “Custom CSS” box under Aside > General Settings, and pasted your code in there. That did the trick!
Thanks so much ^____^
-
AuthorPosts
- You must be logged in to reply to this topic.
