The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

widgets show on bottom

4 posters

Go down

widgets show on bottom Empty widgets show on bottom

Post by MasterSly 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
widgets show on bottom Ip114511


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

Male Posts : 173
Reputation : 6

http://greekfmsupport.forumgreek.com/

Back to top Go down

widgets show on bottom Empty Re: widgets show on bottom

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

Please post your forum's link.


widgets show on bottom Slgray10

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

Male Posts : 51572
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

widgets show on bottom Empty Re: widgets show on bottom

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

MasterSly
MasterSly
Forumember

Male Posts : 173
Reputation : 6

http://greekfmsupport.forumgreek.com/

Back to top Go down

widgets show on bottom Empty Re: widgets show on bottom

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

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

http://lolirock.forumpolish.com

Back to top Go down

widgets show on bottom Empty Re: widgets show on bottom

Post by Shadow 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
Shadow
Shadow
Manager
Manager

Male Posts : 16208
Reputation : 1832
Language : French, English

Back to top Go down

widgets show on bottom Empty Re: widgets show on bottom

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

@Ritsu its dosnt work
MasterSly
MasterSly
Forumember

Male Posts : 173
Reputation : 6

http://greekfmsupport.forumgreek.com/

Back to top Go down

widgets show on bottom Empty Re: widgets show on bottom

Post by Ritsu 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>');
});
Ritsu
Ritsu
Forumember

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

http://lolirock.forumpolish.com

Back to top Go down

widgets show on bottom Empty Re: widgets show on bottom

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

@Ritsu same
MasterSly
MasterSly
Forumember

Male Posts : 173
Reputation : 6

http://greekfmsupport.forumgreek.com/

Back to top Go down

Back to top

- Similar topics

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