• Welcome to Simple Machines Community Forum. Please login or sign up.
October 20, 2021, 10:42:57 AM

News:

Join the Facebook Fan Page.


How to enlarge Board Titles ??

Started by GamePersia, May 07, 2014, 11:39:22 PM

Previous topic - Next topic

GamePersia

Hi,..want to increase text size of parent boards heading and child board font !!
but not for default theme,..using other theme...

br360

It depends on the theme you are using, but a lot of themes I have seen use this same code that is in default.

Take a look at your theme/css/index.css

Find-


/* Styles for the board index.
------------------------------------------------- */

/* the board title! */
.table_list tbody.content td.info a.subject
{
   font-weight: bold;
   font-size: 110%;
   color: #d97b33;
}
.table_list tbody.content td.children
{
   color: #555;
   font-size: 85%;


The font size that is at 110% is what you can change to increase the parent board, and the font size that is 85% is what you can change to increase child board text.

Kindred

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

GamePersia

Quote from: Kindred on May 08, 2014, 12:27:03 AM
firefox + firebug is your friend
Ah,..
Today is wonderful day !!
Atleast you call me a "friend" !!  :D
I was thinking that you never want's to be our friend !!.... :(

GamePersia

Quote from: br360 on May 08, 2014, 12:18:06 AM
It depends on the theme you are using, but a lot of themes I have seen use this same code that is in default.

Take a look at your theme/css/index.css

Find-


/* Styles for the board index.
------------------------------------------------- */

/* the board title! */
.table_list tbody.content td.info a.subject
{
   font-weight: bold;
   font-size: 110%;
   color: #d97b33;
}
.table_list tbody.content td.children
{
   color: #555;
   font-size: 85%;


The font size that is at 110% is what you can change to increase the parent board, and the font size that is 85% is what you can change to increase child board text.
We cannot find,..that,....but find something similar
/* Styles for the board index.
------------------------------------------------- */

/* the board title! */
.table_list tbody.content td.info a.subject
{
   font-weight: bold;
   color: #282b2e;
}
.table_list tbody.content td.children
{
   color: #555;
}
p.moderators
{
   font-size: 0.8em;
   font-family: verdana, sans-serif;
}
/* hide the table header/footer parts - but its here for those needing to style it */
#boardindex_table .table_list thead, #boardindex_table .table_list tfoot
{
   display: none;
}

/* the posting icons */
#posting_icons
{
   padding: 0 1em 0.5em 1em;
   margin: 0 0 1em 0;
   line-height: 1em;
}
#posting_icons ul
{
   font-size: 0.8em;
   font-weight: bold;
}
#posting_icons ul li
{
   color: #FFF;
   border-radius: 3px;
   padding: 3px 5px;
   margin-right: 5px;
}
#posting_icons img
{
   vertical-align: middle;
   margin: 0 0 0 4ex;
}
#postbuttons_upper ul li a span
{
   line-height: 19px;
   padding: 0 0 0 6px;
}
.nextlinks
{
   text-align: right;
   margin-top: -1px;
}
.nextlinks_bottom
{
   clear: right;
   text-align: right;
}
.mark_read
{
   padding: 0 0.5em;
}

/* the newsfader */
#newsfader
{
   margin: 0 2px;
}
#smfFadeScroller
{
   text-align: center;
   padding: 0 2em;
   overflow: auto;
   margin: 1em 0;
   color: #575757; /* shouldn't be shorthand style due to a JS bug in IE! */
}

/* Styles for the info center on the board index.
---------------------------------------------------- */

Kindly tell what to edit in this above code ??

br360

What theme is that? Can you link it here?

Have you tried adding font-size: 110%; (or whatever number you decide on) in between


font-weight: bold;
color: #282b2e;


so for example:


font-weight: bold;
font-size: 150%;
color: #282b2e;



GamePersia

May 08, 2014, 03:39:50 AM #6 Last Edit: May 08, 2014, 04:02:23 AM by GamePersia
Quote from: br360 on May 08, 2014, 02:30:51 AM
What theme is that? Can you link it here?

Have you tried adding font-size: 110%; (or whatever number you decide on) in between


font-weight: bold;
color: #282b2e;


so for example:


font-weight: bold;
font-size: 150%;
color: #282b2e;

the theme is wrap : http://smfhispano.net/index.php?action=downloads;sa=view;down=36
Edit : i have tried to add the line you said,..but it's not working !!
Kindly help !!

br360

I downloaded the theme (which is very nice btw), and adding that font-size line did work for enlarging the board title. (although it looks like increasing the child board font size will be a little trickier)

font-weight: bold;
font-size: 150%;
color: #282b2e;

Arantor

Just a question: why are you not asking this on the site of the theme maker?
No good deed goes unpunished
All helpful urges should be circumvented

GamePersia

Quote from: br360 on May 08, 2014, 11:39:05 AM
I downloaded the theme (which is very nice btw), and adding that font-size line did work for enlarging the board title. (although it looks like increasing the child board font size will be a little trickier)

font-weight: bold;
font-size: 150%;
color: #282b2e;

we tried to add font size code 150,,..as you said but the font size is increasing in preview,..but not on main home page !!
check it,..we are sure you have also seen preview only !!
kindly tell how to fix it,..moreover also tell for childboards !!  :(

Arantor

Or it could be that you have an old version of it in your browser and the current version is not being shown to you.

It is not possible for any of us to have seen the preview only.
No good deed goes unpunished
All helpful urges should be circumvented

GamePersia

Quote from: Arantor on May 08, 2014, 11:40:00 AM
Just a question: why are you not asking this on the site of the theme maker?
Just a question for you also,..
is there any issue if we ask here,..not there ??
And what if the theme developers have quit visiting that site ??
they are not online for many time,..
that's why asking here from our friends.... :-*

Arantor

Of course there is an issue.

The theme author - the person who *made* the theme - is on that site. They're so much more likely to see it and know how best to change it than us who may not have ever seen the theme before. I certainly haven't seen the theme you're using and know nothing about it. I haven't even seen a link to the site so I can't even examine what code there *is*.

And if the theme developers have quit visiting that site, then maybe here would be an acceptable alternative but that site, where you got it from, should generally be the first point of contact. Just like if you got a theme from here and asked for help, you would always be directed to the theme's thread (or mod's thread, for mods) in the first instance where people who know the theme (or mod) might see it because they really are the best people to help.
No good deed goes unpunished
All helpful urges should be circumvented

GamePersia

Quote from: Arantor on May 08, 2014, 10:13:28 PM
Of course there is an issue.

The theme author - the person who *made* the theme - is on that site. They're so much more likely to see it and know how best to change it than us who may not have ever seen the theme before. I certainly haven't seen the theme you're using and know nothing about it. I haven't even seen a link to the site so I can't even examine what code there *is*.

And if the theme developers have quit visiting that site, then maybe here would be an acceptable alternative but that site, where you got it from, should generally be the first point of contact. Just like if you got a theme from here and asked for help, you would always be directed to the theme's thread (or mod's thread, for mods) in the first instance where people who know the theme (or mod) might see it because they really are the best people to help.
yes,..we are getting your point,..
i firstly contacted them only,..and not once,..but 5-6 times,..
moreover we do not have any doubt on smf members knowledge,..that they do not know this or that...
some guys,..like,..br360,Diego,margarett,Kat,Kindred,...are so talented that they always help us in any topic which we make !!
so why are you justifying yourself that you don't have any knowledge of this theme ??,..if we tell you reality that you are most talented guy in such things !! :-*

GamePersia

Quote from: Arantor on May 08, 2014, 10:05:05 PM
Or it could be that you have an old version of it in your browser and the current version is not being shown to you.

It is not possible for any of us to have seen the preview only.
Yes here you are perfect,..checked on other browser,..and it got working !! :-*
but yes for child boards we are still waiting.. :D

Arantor

I do not have any knowledge of this, I have never seen it before.

As for my previous assertion, that's not because I've checked for myself (because, as stated, I don't even know the URL to your site), that's because I read your symptoms and I know exactly how SMF works when handling the previews. I also know how likely the browsers are to cache things and why doing refreshes is important to validate changes.

And no, not even remotely perfect, nor even anywhere near the most talented. The people who came before me were the talented ones. I'm good at working on what was already done, but I couldn't build it from scratch. Even my own efforts are only any good in context of what came before.
No good deed goes unpunished
All helpful urges should be circumvented

mashby

I smell Warez. I wonder what happened to your signature, OP? I've really had enough of you.
Always be a little kinder than necessary.
- James M. Barrie

Arantor

After doing a quick look around to find the URL... it's not merely a whiff of the stuff, it's positively pungent. That isn't nice.
No good deed goes unpunished
All helpful urges should be circumvented

Kindred

yeah... he definite runs an illegal warez site...

and wants to be handed his answers all bundled up on a silver platter too...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Steve

Just curious, is any action taken against people like that, like banning or reporting them to their ISP, etc.?
Please do not PM me for support.

Advertisement: