EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Recent Posts

Re: permissions to shoutbox by EzPortal
December 10, 2018, 11:22:34 pm

Re: permissions to shoutbox by zoltar
December 10, 2018, 02:48:47 pm

Re: permissions to shoutbox by EzPortal
December 09, 2018, 08:23:51 pm

Re: permissions to shoutbox by zoltar
December 09, 2018, 03:21:35 am

Re: permissions to shoutbox by EzPortal
December 08, 2018, 09:20:27 am

permissions to shoutbox by zoltar
December 08, 2018, 03:36:08 am

Re: Mobile Only Blocks by rcolaneri
November 20, 2018, 01:53:00 pm

Re: Mobile Only Blocks by EzPortal
November 20, 2018, 09:22:47 am

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Author Topic: Adding a div before a page content  (Read 3204 times)

0 Members and 1 Guest are viewing this topic.

Offline Eva Morrissey

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Adding a div before a page content
« on: September 11, 2013, 04:07:29 am »
Hi,
I'm working on a theme for SMF with ezPortal, and I need to insert a div to wrap just the content of pages. I was taking a look inside the code, and I have this:

Code: [Select]
<td valign=top">

Page content

</td>

and I need to change to something like this:

Code: [Select]
<td valign=top">
<div class="minhaclasse">

Page content

</div>

</td>

Where can I change this? Thanks!

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1190
  • Karma: 65
Re: Adding a div before a page content
« Reply #1 on: September 11, 2013, 06:40:49 am »
In themes/default/ezportal.template.php

Find the function called "function template_ezportal_viewpage()"
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline Eva Morrissey

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Adding a div before a page content
« Reply #2 on: September 12, 2013, 01:16:27 am »
Done, thanks!

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
7522 Views
Last post June 13, 2010, 06:13:03 am
by Marian
1 Replies
10900 Views
Last post May 09, 2011, 01:26:29 pm
by geogeo
0 Replies
4042 Views
Last post April 17, 2012, 09:01:52 am
by Maxx
1 Replies
8784 Views
Last post September 26, 2012, 06:24:51 am
by robertson123
1 Replies
3499 Views
Last post February 01, 2016, 06:57:40 am
by lscstu22

+-SMF Gallery

Quick Menu








Members Online

20 Guests, 0 Users
Powered by EzPortal