EzPortal - Portal Software for Forums

EzPortal Forums => Support => Topic started by: Eva Morrissey on September 11, 2013, 04:07:29 am

Title: Adding a div before a page content
Post by: Eva Morrissey 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!
Title: Re: Adding a div before a page content
Post by: EzPortal on September 11, 2013, 06:40:49 am
In themes/default/ezportal.template.php

Find the function called "function template_ezportal_viewpage()"
Title: Re: Adding a div before a page content
Post by: Eva Morrissey on September 12, 2013, 01:16:27 am
Done, thanks!