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.


Panel Box Color

Login / Search

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

Well-settled

Changing colors

Just trying to change the color of this panel box. I'm wondering where it is located in the global.css file. I have changed nearly all the backgrounds to #000000 and nothing seems to be changing this box.

Thanks!


Back to the top
 
Posted
Rating:
#68969
Avatar

The CSS tools in the dropdown in the site footer are very good for locating styles. Alternatively using something like Firebug's inspect tool works well also.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#68971
Avatar

Well-settled

Wow what an awesome tool. As frustrating as some of the stuff I've been through with this CMS, I know it's so far been well worth it for what I know its capable of doing! :)

Thanks for your help.

More to come!
Back to the top
 
Posted
Rating:
#68972
Avatar

Any constructive usability feedback (i.e. what we can change) very welcome.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#69080
Avatar

Well-settled

I did find the code in the standardbox panel area.

But I'm having trouble finding one area and changing it to #000000

In Google Chrome through Inspection, I can see it's in this area:

<span class="ocp_keep_block" style="background-color: rgb(186, 186, 255); display: block; font-weight: bold">


element.style {
  1. background-color: #BABAFF;
  2. display: block;
  3. font-weight: bold;
}
Attachment
Attachment
Back to the top
 
Posted
Rating:
#69082
Avatar

That actually looks like you applied some styles in the WYSIWYG editor to the little bit of markup we add to make Comcode portions stand out.
You can go edit, go to the editor source view, and strip out the style="…" bits.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#69083
Avatar

Well-settled

Where would I do this? Edit - Editor Source View? Where's this located?
Back to the top
 
Posted
Rating:
#69084
Avatar

Community saint

I assume you want to change the purple (#BABAFF) to black (#000000).

  • Do a 'find' for #BABAFF in your global.css, and it should lead you directly, or indirectly, to the solution.

OR

  • Do a similar search in your installation root folder, the one on your computer, to track down where the specific colour is being called, and then edit it to the one you want.

Or have I missed something … ?

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:
#69086
Avatar

Well-settled

Fletch, I would not have posted here if I had easily found: #BABAFF.

And it's a custom theme, so it's not going to be found in that folder. However, you did give me an idea to download the theme off my server and search for it there on my computer.

However, this yielded no results, so I am having trouble finding it.

global.css doesn't contain: BABAFF nor any RGB code.
Back to the top
 
Posted
Rating:
#69087
Avatar

Community saint

Xarex said

Fletch, I would not have posted here if I had easily found: #BABAFF …

Yeah, I know, and that's why I was hesitant to say what I did …

HOWEVER

#BABAFF obviously exists somewhere and yes, it is almost certain to be in your custom theme and relevant files and folders. That should 'filter' out other scenarios.

Looks like you'll need to pull ALL your 'custom' files and folders off your server and check them on your local machine.

BTW, what block are you using that shows that display?

Don't forget to keep us all informed.

 :thumbs:

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:
#69088
Avatar

Well-settled

Ah, found the code in the Zone Editor Menu after disabling the WYSIWYG.

Thanks Chris ;)
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: