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.

Is there a way to change each indivudual module?

3 posters

Go down

Is there a way to change each indivudual module? Empty Is there a way to change each indivudual module?

Post by sonyman Mon 30 Sep 2013 - 5:01

Is there a way to change each individual module's size, where they are, how many can be put on the portal page, etc. For example, I want 3 modules on the top, and just 2 big ones bellow them. Is this possible with CSS coding? Instead of being forced to use 3 or less only.


bwi
sonyman
sonyman
New Member

Posts : 21
Reputation : 1
Language : english

View user profile

Back to top Go down

Is there a way to change each indivudual module? Empty Re: Is there a way to change each indivudual module?

Post by Ange Tuteur Mon 30 Sep 2013 - 21:51

It could be possible using nth child however, all widgets used must be public otherwise you risk major flaws in the design. An example of this would be adding overflow-y to the latest topics widget:

Is there a way to change each indivudual module? Captur38

In the code below though we're modifying a module with 14, if this module was hidden to guests another widget would inherit this number, thus applying overflow-y to it.
Code:
div.module:nth-child(14){
height:300px;
overflow-y:scroll;
}
You could also design your widgets by not using a table type; by using a series of tables and class names I'm sure you can do such.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania

View user profile https://fmdesign.forumotion.com

Back to top Go down

Is there a way to change each indivudual module? Empty Re: Is there a way to change each indivudual module?

Post by levy Mon 30 Sep 2013 - 22:01

Him want to move the widgets on top and that's is impossible or with phpBB2 / punBB ( not sure , never tested ).
At what you want, to have some widgets upper , some bellow them, is impossible.
levy
levy
Hyperactive

Male Posts : 2620
Reputation : 349
Language : English, Romanian
Location : Grinding

View user profile https://better.forumotion.co.uk/

Back to top Go down

Is there a way to change each indivudual module? Empty Re: Is there a way to change each indivudual module?

Post by Ange Tuteur Mon 30 Sep 2013 - 22:17

It is possible however, it would take a considerable amount of work especially if you're using forum widgets as well. That overall is more difficult. The only problem is you have to reposition each one individually, and like I said these may affect forum widgets as well.

Example from one of my fourms:
Is there a way to change each indivudual module? Captur39

Code:
td.column:nth-child(1) > table:nth-child(1){
position:relative;
bottom:150px;
left:500px;
}
table.forumline:nth-child(12){
position:relative;
bottom:1565px;
right:315px;
}
td.column:nth-child(3) > table:nth-child(8){
position:relative;
bottom:1077px;
right:680px;
}
Oh I forgot to mention you also have to think ahead about different users screen sizes and zoom levels. I believe absolute position will work better, but you would also have to then modify the width of the widget too.


Last edited by SethC1995 on Mon 30 Sep 2013 - 22:24; edited 1 time in total
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania

View user profile https://fmdesign.forumotion.com

Back to top Go down

Is there a way to change each indivudual module? Empty Re: Is there a way to change each indivudual module?

Post by levy Mon 30 Sep 2013 - 22:23

At your code you have a very big problems and that don't make him to work :
You don't have a unique class or any ID so , all your td.colum , forumline child will move upper so that will destroy your whole skin.
him want to move the widgets not the statistics , log-in form and who is online.
levy
levy
Hyperactive

Male Posts : 2620
Reputation : 349
Language : English, Romanian
Location : Grinding

View user profile https://better.forumotion.co.uk/

Back to top Go down

Is there a way to change each indivudual module? Empty Re: Is there a way to change each indivudual module?

Post by Ange Tuteur Mon 30 Sep 2013 - 22:28

I know that, the image above was only to give an example what is possible, and I've also stated that there can be issues when using this method.

If the OP is up for this, it is for them to decide.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania

View user profile https://fmdesign.forumotion.com

Back to top Go down

Is there a way to change each indivudual module? Empty Re: Is there a way to change each indivudual module?

Post by sonyman Mon 30 Sep 2013 - 23:10

Thanks for the information seth Very Happy, I'll try these out.
sonyman
sonyman
New Member

Posts : 21
Reputation : 1
Language : english

View user profile

Back to top Go down

Back to top

- Similar topics

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