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: 949
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot 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]


Thanks for having an interest with our portal. If you have any requests for features, have a look at the Feature Requests board.

Background problem

Started by The Wizard, May 04, 2014, 07:41:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

The Wizard

Hello:

I am using -
SMF 2.0.7
A curved theme
Simple Portal 2.3.5

I have added the following code to smf index.css


.windowbg4
{
color: #000;
background-color: #56A0D3;
}


Objective: Add a page to the portal system.

Below are my results -



Problem: As you can see from the test page the light grey curved background on the top and bottom does not turn blue.

Any ideas on how to make the light grey area blue ?

Thanks

Wiz

AngelinaBelle

Hello the Wizard,

You are almost there!  Here is what I do when I run into a problem like this:  I start up whatever developers tools come with my browser.  In IE and Chrome, the "F12" key starts up developers tools, which come with n "element selector" or "element inspector".  These can tell you a lot.

For example, if I point to the page text on a simpleportal page, I immediately see that that content is inside a windowbg container, and that there are other parts inside there besides the content itself.

For example, at http://simpleportal.net/index.php?page=about, I see the content is inside

<div class="windowbg">
         <span class="topslice"><span></span></span>
         <div class="content">
                                .... your content goes here ...
         <>
         <span class="botslice"><span></span></span>
      <>



It sounds like you have added a custom class windowbg4 for your page body.
And you have defined some custom CSS for windowbg4.
So now all you need to do is define some custom CSS for your topslice and botslice.


.windowbg4 span.topslice { }
.windowbg4 span.botslice {}



The CURVE theme uses curved images to make rounded corners.  You can make an image file for that, or you can use border-radius instead (knowing that older browsers and Opera Mini will show square corners. http://caniuse.com/border-radius).
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?