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: ezPortal 4.0 Released! by EzPortal
September 07, 2018, 02:44:21 pm

Re: ezPortal 4.0 Released! by JorgeAVM
September 07, 2018, 02:28:46 pm

Re: ezPortal 4.0 Released! by JorgeAVM
September 07, 2018, 02:04:13 pm

Re: ezPortal 4.0 Released! by EzPortal
September 07, 2018, 01:56:41 pm

Re: ezPortal 4.0 Released! by JorgeAVM
September 07, 2018, 01:48:49 pm

ezPortal 4.0 Released! by EzPortal
August 13, 2018, 02:27:14 pm

Re: How to add pictures on recent post ezportal front page by Botango23
June 30, 2018, 03:38:18 am

Re: How to add pictures on recent post ezportal front page by EzPortal
June 29, 2018, 06:21:42 pm

+- HTML Menu


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

Author Topic: Adding a div before a page content  (Read 3166 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: 1181
  • Karma: 64
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
7450 Views
Last post June 13, 2010, 06:13:03 am
by Marian
1 Replies
10823 Views
Last post May 09, 2011, 01:26:29 pm
by geogeo
0 Replies
3993 Views
Last post April 17, 2012, 09:01:52 am
by Maxx
1 Replies
8745 Views
Last post September 26, 2012, 06:24:51 am
by robertson123
1 Replies
3456 Views
Last post February 01, 2016, 06:57:40 am
by lscstu22

+-SMF Gallery

Quick Menu








Members Online

15 Guests, 0 Users
Powered by EzPortal