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.

Announcements Width

4 posters

Go down

Announcements Width Empty Announcements Width

Post by br4dl3y2013 August 21st 2009, 3:32 am

Is their a way to make the announcements width smaller?

Or is their anywhere i could insert a lot of codes & have 2 clickable Links (Not the announcements or Site description cause it wont fit)
i have a phpbb2 so i have template editing..
br4dl3y2013
br4dl3y2013
Forumember

Male Posts : 255
Reputation : 0
Language : English
Location : Potsdam, Ohio

http://mytube.forumotion.net/forum.htm

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by ankillien August 21st 2009, 7:17 am

Hello,

You can decrease the width of announcement. Add this code to Admin CP > Display > Colors > CSS and Submit.

Code:
#fa_ticker_block {
width : 500px;
}

You can adjust 500px as per your need.

You can add links in announcement.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by br4dl3y2013 August 21st 2009, 7:41 am

How would i make that in the center?
br4dl3y2013
br4dl3y2013
Forumember

Male Posts : 255
Reputation : 0
Language : English
Location : Potsdam, Ohio

http://mytube.forumotion.net/forum.htm

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by ankillien August 21st 2009, 7:54 am

Use this code for that...

Code:
#fa_ticker_block {
margin-left : 200px;
}

Change the 200px as per need.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by br4dl3y2013 August 21st 2009, 8:00 am

okay thanks, and i want to insert a code that shows up on everypage, where could i post that code at?
br4dl3y2013
br4dl3y2013
Forumember

Male Posts : 255
Reputation : 0
Language : English
Location : Potsdam, Ohio

http://mytube.forumotion.net/forum.htm

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by ankillien August 21st 2009, 8:02 am

You can put the code in forum description or in a widget.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by br4dl3y2013 August 21st 2009, 8:03 am

Its to long for the description, and okay any way with template editing?
br4dl3y2013
br4dl3y2013
Forumember

Male Posts : 255
Reputation : 0
Language : English
Location : Potsdam, Ohio

http://mytube.forumotion.net/forum.htm

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by ankillien August 21st 2009, 8:05 am

Yes, you can insert the code in template.
Admin CP > Display > 'General' under Templates' > index_body.
You can add the code there.

Can you please post the code here so that I can tell you where exactly to insert it.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by br4dl3y2013 August 21st 2009, 8:13 am

It the theme changer xD
Id rather keep it a secret.

could you tell me where to insert it now or do you need the code?
br4dl3y2013
br4dl3y2013
Forumember

Male Posts : 255
Reputation : 0
Language : English
Location : Potsdam, Ohio

http://mytube.forumotion.net/forum.htm

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by ankillien August 21st 2009, 10:22 am

Ok, I tell you Very Happy
I just needed to know what the code is for.

You can add it to the footer. Go to 'overall_footer' template.
Find out this part...

Code:
<!-- close div id=&quot;page-body&quot; -->
         <div id="page-footer">
            <div align="center">

Put your code right after that > Save > Publish.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by br4dl3y2013 August 21st 2009, 9:04 pm

I do what you say and it dont work Sad
br4dl3y2013
br4dl3y2013
Forumember

Male Posts : 255
Reputation : 0
Language : English
Location : Potsdam, Ohio

http://mytube.forumotion.net/forum.htm

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by ankillien August 22nd 2009, 4:22 am

May be, problem is with the code.
You can PM me the code so that I can test it on my forum.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by br4dl3y2013 August 22nd 2009, 4:40 am

Okay, and no problem with the code i have it on right now, just in the announcments but i will pm you the code hold on
br4dl3y2013
br4dl3y2013
Forumember

Male Posts : 255
Reputation : 0
Language : English
Location : Potsdam, Ohio

http://mytube.forumotion.net/forum.htm

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by ankillien August 22nd 2009, 5:42 am

Hey, the code work on my forum fine if I put it into overall_footer.
Check if you have forgotten to hit '+' button after saving the template.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by br4dl3y2013 August 22nd 2009, 5:46 am

okay ill check again
br4dl3y2013
br4dl3y2013
Forumember

Male Posts : 255
Reputation : 0
Language : English
Location : Potsdam, Ohio

http://mytube.forumotion.net/forum.htm

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by Simple August 23rd 2009, 11:01 am

Just only for phpbb 2 ?
Simple
Simple
Forumember

Male Posts : 124
Reputation : 0
Language : english
Location : Indonesia

Back to top Go down

Announcements Width Empty Re: Announcements Width

Post by Darren1 August 23rd 2009, 11:42 am

Simple wrote:Just only for phpbb 2 ?

phpBB2 and PunBB as their the only versions that can edit their templates Wink
Darren1
Darren1
Helper
Helper

Male Posts : 11853
Reputation : 566
Language : English

Back to top Go down

Back to top


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