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.

Removing excess Headers/Footers through CSS/Template Editing?

3 posters

Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Removing excess Headers/Footers through CSS/Template Editing?

Post by TR February 19th 2010, 6:54 pm

Hey guys,
I was wondering if it would be possible to remove excess footers/headers on my forums? Rather typing it out, I thought the screenshots would explain what I'm trying to achieve better. I would imagine this would be easiest to be done in Template Editing?

Removing excess Headers/Footers through CSS/Template Editing? ForumSpacing1
Removing excess Headers/Footers through CSS/Template Editing? ForumSpacing2
Removing excess Headers/Footers through CSS/Template Editing? ForumSpacing3
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by TR February 21st 2010, 6:36 am

Up!
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by ankillien February 21st 2010, 12:42 pm

Hello,

This will require too much template editing work.
I'll give you some guidelines on this later.
ankillien
ankillien
Energetic

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

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by TR February 23rd 2010, 12:05 am

Sure thing, within the next week or?
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by ankillien February 23rd 2010, 3:12 am

TR wrote:Sure thing, within the next week or?

Yes, may be within a week.
The editing you want to do is not easy and requires too much of work and time.
ankillien
ankillien
Energetic

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

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by TR March 27th 2010, 1:49 am

Can anyone shine some light on this?
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by TR March 28th 2010, 8:03 pm

Up.
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by TR April 3rd 2010, 4:22 am

Anyone?
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by TR April 10th 2010, 4:13 am

Anyone?
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by TR April 16th 2010, 6:25 am

Anyone?
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by TR April 20th 2010, 5:44 pm

Anyone?
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by jackalraymaiden April 21st 2010, 7:38 am

dude, he already said within a week, can't you just wait?? don't spam
avatar
jackalraymaiden
Forumember

Posts : 47
Reputation : 0
Language : Tagalog

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by TR April 21st 2010, 3:43 pm

Did you read the date? It's been about a two months now, so I think I can bump it again.
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by jackalraymaiden April 21st 2010, 3:46 pm

bump it once ..damn...Im pretty sure hell see that..
avatar
jackalraymaiden
Forumember

Posts : 47
Reputation : 0
Language : Tagalog

Back to top Go down

Removing excess Headers/Footers through CSS/Template Editing? Empty Re: Removing excess Headers/Footers through CSS/Template Editing?

Post by ankillien April 21st 2010, 6:41 pm

Hello,
Sorry for the late reply.



For the first thing, go to viewforum_body template and find this part in the code...

Code:
<p class="posting"><a href="{U_POST_NEW_TOPIC}" accesskey="n" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" /></a></p>

You need to cut this part from there.

Now, move to the topics_list_box template and find this part...

Code:
<h1 class="page-title">{topics_list_box.row.L_TITLE} [{topics_list_box.row.COUNT_TOTAL_TOPICS}]</h1>
   </div>

You need to put this code right before the </div> in above code...

Code:
<a style="float:right;" href="{U_POST_NEW_TOPIC}" accesskey="n" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" /></a>


Now save both templates, publish them and see if it works Very Happy



Go to viewtopic_body template.

Find this part and remove it...

Code:
<div class="pun-crumbs noprint">
   <p class="crumbs">
      <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » 
      <!-- google_ad_section_start -->
      <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong>
      <!-- google_ad_section_end -->
   </p>
</div>

Now find this part...

Code:
<p class="posting">
         <!-- BEGIN switch_user_authpost -->
         <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a>  
         <!-- END switch_user_authpost -->

         <!-- BEGIN switch_user_authreply -->
         <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
         <!-- END switch_user_authreply -->
      </p>

You need to put the following code right before the </p>...

Code:
<div class="pun-crumbs noprint" style="float:left;">
   <p class="crumbs">
      <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » 
      <!-- google_ad_section_start -->
      <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong>
      <!-- google_ad_section_end -->
   </p>
</div>

Save it, publish it and see if it works Very Happy



Go to privmsgs_body template and remove this part...

Code:
<div class="pun-crumbs">
   <p class="crumbs">
      <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong>{L_PM}</strong>
   </p>
</div>

Save it, publish it and see if it works Very Happy
ankillien
ankillien
Energetic

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

Back to top Go down

Back to top

- Similar topics

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