Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 1188
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Customizing how blocks look

Started by FantasyEarth, March 10, 2010, 09:49:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FantasyEarth

Hello everyone,

I'm kinda new here and read the tutorials but it seems like what I would like to do is not covered.

I am looking into modifying the individual blocks and adding more fancy images into it so that it wouldn't look too generic and would be unique for my site. What I would like done is to add an image on top of every block instead of the generic table and text title. This is the part I'd like stripped:


I'd like to know which part of the blocks' code I would need to strip so that I could replace it with my own image on top of every block and how I would go about doing that.

Thank you for your time and patience!

Nathaniel

If you want to change the base 'outline' code for every single block, then have a look at the 'template_block_curve' function from your 'Themes/default/Portal.template.php' file (for SMF 2).
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

FantasyEarth

So it is not possible to do it individually in case I have different images for each block?

Nathaniel

If you can use the Style options for each block (either by using custom styles or by creating your own css classes), then you should be able to use different images for each block.
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.