SimplePortal

Customization => Themes and Graphics => Topic started by: neilbombd on September 06, 2011, 09:31:13 PM

Title: Rounded corners on default theme
Post by: neilbombd on September 06, 2011, 09:31:13 PM
Having the problem where I can't get rounded corners on my portal's homepage, they are square at the left hand side.  Another  minor issue is that underneath the title bar, you can see a little triangle of white.

I've moved portal.css into the theme's subfolder, and tried editing it to fix this, but can't work it out.  Can anyone please help?  You can see it at http://www.cookdandbombd.co.uk/
Title: Re: Rounded corners on default theme
Post by: AngelinaBelle on September 12, 2011, 02:36:59 PM
There is a small incompatability between SimplePortal and your custom theme.
This should be fixed in the next version of SimplePortal -- fixing requires a chnge in SimplePortal's block template files.
Title: Re: Rounded corners on default theme
Post by: neilbombd on September 19, 2011, 10:12:02 AM
Thanks.  Is the change outlined anywhere?
Title: Re: Rounded corners on default theme
Post by: AngelinaBelle on September 20, 2011, 09:24:10 AM
The issue is that the template for the block title was taken from an earlier version of CURVE, and uses something like
Code: [Select]
   <h3 class="catbg2"><span class="left"></span>
      <div align="center">:: PODCAST ::</div>
   </h3>
Whereas, done the "new  curve" way, this would have to be something perhaps like
Code: [Select]
<div class="cat_bar">
                     <h3 class="catbg">
                              <div align="center">:: PODCAST ::</div>
                      </h3>
</div>
Changing this would require creating a modified version of the file Portal.Template.php, in your custom theme directory.
Title: Re: Rounded corners on default theme
Post by: neilbombd on September 20, 2011, 10:14:23 PM
Thank you, that's great.  Is there an edit I could make to get rid of the little white triangles in the corners of the posts on the portal page?

It'd be great if I could change the title and body class for news posts.  Really handy.
Title: Re: Rounded corners on default theme
Post by: AngelinaBelle on September 22, 2011, 02:13:55 PM
little white triangles?
SimplePortal 2.3.8 © 2008-2024, SimplePortal