Centering the News widget title
2 posters
Page 1 of 1
Centering the News widget title
This question has already been asked and answered in this topic, but the answer was not clear to me.
The answer was:
In which template should this be added? And on which line? Is there existing code that needs to be replaced by this?
I have looked in the mod_news template under 'Portal', but wasn't able to find it there.
The answer was:
Try this CSS:
- Code:
.mod_news .h3 {
text-align: center !important;
}
In which template should this be added? And on which line? Is there existing code that needs to be replaced by this?
I have looked in the mod_news template under 'Portal', but wasn't able to find it there.
Evochron Reavers- New Member
- Posts : 21
Reputation : 1
Language : English
Re: Centering the News widget title
You need to add that code here:
ACP > Display > Colors > CSS StyleSheet.
ACP > Display > Colors > CSS StyleSheet.
Re: Centering the News widget title
Thanks for the reply.
I tried adding it at the top and bottom, but no result. I'm obviously doing something wrong.
Here is my stylesheet:
What have I done wrong?
I tried adding it at the top and bottom, but no result. I'm obviously doing something wrong.
Here is my stylesheet:
- Code:
.mod_news .h3{
text-align: center !important;
}
.navb{
position: relative !important;
bottom: 0px !important;
}
html {
background: #000 url("http://i45.servimg.com/u/f45/17/15/71/08/bg2px11.png");
height: 100%;
}
body {
background: url("empty") no-repeat;
background-position: bottom center;
}
*/
html>body {
min-height: 100%;
width: auto;
}
div.t16 {font-size: 16pt}
div.t9 {font-size: 9pt}
div.t12 {font-size: 11pt}
What have I done wrong?
Evochron Reavers- New Member
- Posts : 21
Reputation : 1
Language : English
Evochron Reavers- New Member
- Posts : 21
Reputation : 1
Language : English
Re: Centering the News widget title
Thanks for checking, but the problem is on the Portal page. More specifically, the news widget.
Here is a screenshot:
The red highlighted area is where the problem is. I would like to have 'StarWolves News' text in the dead center of the bar it's in (just like all the other widget titles).
How do I do that?
Here is a screenshot:
The red highlighted area is where the problem is. I would like to have 'StarWolves News' text in the dead center of the bar it's in (just like all the other widget titles).
How do I do that?
Evochron Reavers- New Member
- Posts : 21
Reputation : 1
Language : English
Re: Centering the News widget title
You must go to:
ACP > Modules > Portal management > Portal > Structure and select the widget from which the name is not in the middle. When you went into the structure of that widget go to the line "Widget title:", edit it like here:
Good luck !
ACP > Modules > Portal management > Portal > Structure and select the widget from which the name is not in the middle. When you went into the structure of that widget go to the line "Widget title:", edit it like here:
- Code:
<center>Widget NAME</center>
Good luck !
Re: Centering the News widget title
Unfortunately, this is not possible. On most other widgets you can change the name, but not this one. The News widget is one of the built in widgets, and the only things you can change on it are 'number of news', 'length of the news', and 'board of the news'.
Any other suggestions?
Any other suggestions?
Evochron Reavers- New Member
- Posts : 21
Reputation : 1
Language : English
Re: Centering the News widget title
Try to add this code in the CSS StyleSheet
- Code:
span.genmed {
text-align: center !important;
}
Re: Centering the News widget title
No, unfortunately it didn't. Thanks for the suggestions, though.
Anyone else with an idea? Perhaps one of the ForuMotion staff members?...
Anyone else with an idea? Perhaps one of the ForuMotion staff members?...
Evochron Reavers- New Member
- Posts : 21
Reputation : 1
Language : English
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum