widgets show on bottom

Go down

widgets show on bottom

Post by MasterSly on June 1st 2018, 9:21 am

hello..
i have a problem with widgets..
when i login in the forum the widgets are fine for all members but for the guest widgets are at the end of the forum


Last edited by MasterSly on June 2nd 2018, 11:05 pm; edited 1 time in total
avatar
MasterSly
Forumember

Male Posts : 173
Reputation : 6

http://greekfmsupport.forumgreek.com/

Back to top Go down

Re: widgets show on bottom

Post by SLGray on June 1st 2018, 9:40 am

Please post your forum's link.



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44366
Reputation : 3147
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Re: widgets show on bottom

Post by MasterSly on June 1st 2018, 10:09 am

avatar
MasterSly
Forumember

Male Posts : 173
Reputation : 6

http://greekfmsupport.forumgreek.com/

Back to top Go down

Re: widgets show on bottom

Post by Ritsu on June 1st 2018, 10:23 am

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).
avatar
Ritsu
Forumember

Male Posts : 63
Reputation : 7
Language : Polish, English
Location : Poland

http://lolirock.forumpolish.com

Back to top Go down

Re: widgets show on bottom

Post by Shadow on June 1st 2018, 2:28 pm

Please change the title of your topic to something that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.
Please read our forum rules: ESF General Rules
avatar
Shadow
Administrator
Administrator

Male Posts : 16122
Reputation : 1774
Language : French, English

https://help.forumotion.com

Back to top Go down

Re: widgets show on bottom

Post by MasterSly on June 2nd 2018, 11:07 pm

@Ritsu its dosnt work
avatar
MasterSly
Forumember

Male Posts : 173
Reputation : 6

http://greekfmsupport.forumgreek.com/

Back to top Go down

Re: widgets show on bottom

Post by Ritsu on June 3rd 2018, 11:24 am

@MasterSly, okay, I knew that. CSS is not correctly read (calc function), so I suggest to put a script.

Go to ACP -> Modules -> HTML&Javascript section -> Javascript codes management -> Create a new script. Make sure that you have enabled Javascript management.

Title: your choice
Placement: in all the pages
Javascript code:
Code:
$(function() {
  $('head').append('<style id="widget-fix">#content-container div#content {margin-right: 0;float: left;width: calc(100% - 270px);}</style>');
});
avatar
Ritsu
Forumember

Male Posts : 63
Reputation : 7
Language : Polish, English
Location : Poland

http://lolirock.forumpolish.com

Back to top Go down

Re: widgets show on bottom

Post by MasterSly on June 4th 2018, 7:36 am

@Ritsu same
avatar
MasterSly
Forumember

Male Posts : 173
Reputation : 6

http://greekfmsupport.forumgreek.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum