Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: GamePersia on May 07, 2014, 11:39:22 PM

Title: How to enlarge Board Titles ??
Post by: GamePersia on May 07, 2014, 11:39:22 PM
Hi,..want to increase text size of parent boards heading and child board font !!
but not for default theme,..using other theme...
Title: Re: How to enlarge Board Titles ??
Post by: 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.
Title: Re: How to enlarge Board Titles ??
Post by: Kindred on May 08, 2014, 12:27:03 AM
firefox + firebug is your friend
Title: Re: How to enlarge Board Titles ??
Post by: GamePersia on May 08, 2014, 01:57:31 AM
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 !!.... :(
Title: Re: How to enlarge Board Titles ??
Post by: GamePersia on May 08, 2014, 02:05:56 AM
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 ??
Title: Re: How to enlarge Board Titles ??
Post by: 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;


Title: Re: How to enlarge Board Titles ??
Post by: GamePersia on May 08, 2014, 03:39:50 AM
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 !!
Title: Re: How to enlarge Board Titles ??
Post by: 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;
Title: Re: How to enlarge Board Titles ??
Post by: 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?
Title: Re: How to enlarge Board Titles ??
Post by: GamePersia on May 08, 2014, 10:03:13 PM
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 !!  :(
Title: Re: How to enlarge Board Titles ??
Post by: 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.
Title: Re: How to enlarge Board Titles ??
Post by: GamePersia on May 08, 2014, 10:07:39 PM
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.... :-*
Title: Re: How to enlarge Board Titles ??
Post by: 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.
Title: Re: How to enlarge Board Titles ??
Post by: GamePersia on May 08, 2014, 10:26:47 PM
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 !! :-*
Title: Re: How to enlarge Board Titles ??
Post by: GamePersia on May 08, 2014, 10:31:32 PM
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
Title: Re: How to enlarge Board Titles ??
Post by: Arantor on May 08, 2014, 10:46:19 PM
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.
Title: Re: How to enlarge Board Titles ??
Post by: mashby on May 08, 2014, 10:55:33 PM
I smell Warez. I wonder what happened to your signature, OP? I've really had enough of you.
Title: Re: How to enlarge Board Titles ??
Post by: Arantor on May 08, 2014, 11:30:18 PM
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.
Title: Re: How to enlarge Board Titles ??
Post by: Kindred on May 09, 2014, 01:23:57 AM
yeah... he definite runs an illegal warez site...

and wants to be handed his answers all bundled up on a silver platter too...
Title: Re: How to enlarge Board Titles ??
Post by: Steve on May 09, 2014, 07:16:08 AM
Just curious, is any action taken against people like that, like banning or reporting them to their ISP, etc.?
Title: Re: How to enlarge Board Titles ??
Post by: Arantor on May 09, 2014, 10:08:35 AM
Nope. What makes it more interesting is that the cross-jurisdictional nature of the internet makes it rather hard to enforce with respect to legalities. In many places, merely downloading such material is not actually criminal in nature (and in many places, copyright violation is a civil, not criminal, infringement anyway), while in other places, uploading is the activity that is not problematic...