HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


element.style - OMG where is it!

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#52186 (In Topic #11396)
Avatar

Honoured member

Please, I'm at my wits end. I can't find element.style for standardbox_wrap_panel

I'm working hard on a theme, since I'm finding OCP to be able to due what I want and I wanted to really start to feel it, if you will.

I'm rather visual, like most guys ;)

I've got this 5px gap at the top of both side bars that I can't get rid of. According to FF firebug, standardbox_wrap_panel is the class and element.style is in global.css holding the margin-top: 5px culbrit but I can't smoke that sucker!

I searched global.css and nada…. also ran a text search on all files in my theme dir and all I got was hit's on .js files

Save me OCPeeps! I beg of thee!


Last edit: by ocPortal_Noob
Back to the top
 
Posted
Rating:
#52188
Avatar

Honoured member

Here's a screen of my pain. :'(


Last edit: by ocPortal_Noob
Back to the top
 
Posted
Rating:
#52189
Avatar

Community saint

Can you use an image hosting service. I get this:

Service Temporarily UnavailableThe server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.


Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
Posted
Rating:
#52191
Avatar

Honoured member

How about this?

The other one works although, it sometimes requires a couple of refreshes to the page. Hey it's free right :thumbs:
http://www.freeimageho…/image.php?f92e13a9b9.jpg


Last edit: by ocPortal_Noob
Back to the top
 
Posted
Rating:
#52192
Avatar

Honoured member

I'm looking around to see how others do attachments, but I haven't figured that out yet.

Maybe I'm not a high enough rank yet to earn attachment privileges.
Back to the top
 
Posted
Rating:
#52193
Avatar

Community saint

Elgg_Noob said

Here's a screen of my pain. :'(
Looks like a wayward [ <br /> ] that's causing that. Had something similar in a panel once.


Elgg_Noob said

I'm looking around to see how others do attachments, but I haven't figured that out yet.

Maybe I'm not a high enough rank yet to earn attachment privileges.
Nothing to do with rank and privilege. Just use the 'attachment' function that is available when you use the 'Full editor' (as opposed to the 'Quick reply').

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#52194
Avatar

Community saint

I like that "5 pixel hell"  :lol:

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
Posted
Rating:
#52195
Avatar

Honoured member

How un-human of me, THANK YOU EDEMARS!! for helping me out.

Sheez, my apologies I left out all the important stuff in the screen grab.

OK, here is a good one showing all the goods, highlighted in RED rectangles.

I see now that it's an inline style in the code for the page itself.

I'm thinking there must be some tpl file I need to update. I'm currently running down the TREE VIEW for that page and so far I can't find this sucker. :lol:

i experimented changing the order of the blocks on the sidebar but that didn't work, no matter what block I include in the sidebar it always introduces a margin-top: 5px;

TIA OCPeeps!


Last edit: by ocPortal_Noob
Back to the top
 
Posted
Rating:
#52196
Avatar

Honoured member

Thank You Fletch!

I checked that, no <br> tags… good suggestion though.

Edemars, they are the 5 px from hell :lol:

I removed all those crappy free hosting things cause they seemed to slow down the forum and they just plain suck. :$ I'm ashamed I used them.

Ok, above is the screen with all the goods via OCP attachments! Hooray!
Back to the top
 
Posted
Rating:
#52199
Avatar

Honoured member

VICTORY!!!!!

STANDARDBOX_panel.tpl   held the keys to the 5px HELL

Thank you everyone.

Ah yes, on to the next challenge… Fixing all the spacing for a fixed-width 980px layout.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: