Current date/time is April 27th 2024, 5:21 am

Search found 2 matches for content

widgets show on bottom

How are they when you're logged in? Can you provide a screenshot of its 'normal state'?

Alright. It's no need. I see what is the problem.
Go to ACP (Administration Control Panel), then choose Display tab, go to Pictures and colors section and click Colors. Then, choose CSS stylesheet tab.
Scroll down to bottom of the textarea with CSS Code and paste this:

Code:
#content-container div#content {
    margin-right: 0;
    float: left;
    width: calc(100% - 270px);
}


The #content div wasn't set to be on the left, and margin does nothing, because it's still div's area.

By the way, I highly suggest to set all the width by % unit. On 1024px wide screens the right panel is like invisible or you have to scroll horizontally, which is a bad idea (forum's design gets broken).
by Ritsu
on June 1st 2018, 10:23 am
 
Search in: Garbage
Topic: widgets show on bottom
Replies: 7
Views: 441

JAVASCRIPT PROBLEM

You have another javascript mistake in your template.
You must look for this code
<script>
$(function() {
var Question = $('#content');

$('#nav_up').fadeIn('slow');
$('#nav_down').fadeIn('slow');

$(window).bind('scrollstart', function(){
$('#nav_up,#nav_down').stop().animate({'opacity':'0.2'});
});
$(window).bind('scrollstop', function(){
$('#nav_up,#nav_down').stop().animate({'opacity':'1'});
});

$('#nav_down').click(
function (e) {
$('html, body').animate({scrollTop: .height()}, 800);
}
);
$('#nav_up').click(
function (e) {
$('html, body').animate({scrollTop: '0px'}, 800);
}
);
});
</script>


I've painted in red the mistake, it has declared a variable but, where is the name of that variable???

I think that this line isn't necessary and you could try to solve your problem erasing it. But if you don't know exactly the purpose of that javascript, the best option is erase the whole javascript and this rule is valid for all kind of codes.

And another good rule is not to fill the templates with codes, we have different and specific sections in the Administration Panel in which we can add CSS and javascript to our forum. It is easier to manage those codes in these sections than all together in one or another template. And the task of find a mistake is also much more easier.
by Sr.Smith
on December 20th 2015, 7:09 pm
 
Search in: Garbage
Topic: JAVASCRIPT PROBLEM
Replies: 21
Views: 1304

Back to top

Jump to: