Ok, so being a newbie I'm not sure where to start editing my regions.
I need just someone to point me to the file where I can start editing the

.
I'm talking about where to find something like this (I think):
<div class="region region-featured">
    <div class="block navigation contextual-links-region" id="block-navigation">

I'm looking to edit everything in every regions: padding, arrangement of the blocks, alignment, region backgrounds, font style, etc.
I know I'm gonna need both the html and the css files.

Note that I'm looking just to be pointed to the file so I can make the editing myself obviusly!

Thanks in advance!
Regards!

Comments

Jeff Burnz’s picture

Regions are printed in page.tpl.php. Read the theming guide please, this is fundamentally basic question for which a lot of documentation exists.

Charles Ferdinand’s picture

Sure I've already checked the .tpl.php files, but I couldn't figure where the region and $page variables came from, so I'm just assuming the templates are included or required somewhere else.

Thanks in advance!

konordo’s picture

As Jeff suggested, you might need to take a better look on the documentation.
Here are some links to get you started:
http://drupal.org/node/171224
http://drupal.org/node/171194

--------------------------------------------
Konordo Ltd
http://www.konordo.com

JessicaAtTool’s picture

Did you ever figure this out? I'm brand new to Drupal, trying to make changes to an instance built by someone else, and have the same question. It's a shame it hasn't just been directly answered here :/

Thanks!

Jeff Burnz’s picture

How can it be answered directly here? It entirely depends on your site and how its built and themed. The questions is, fundamentally, about CSS and HTML. How can we know anything about your CSS? We can now where your HTML is being generated, usually a region template (naming depends on what version of Drupal you are using), and possibly the page template also (e.g. the core theme Bartik likes to wrap some regions in extra markup).

All that said, how would we know if you are using Panels or some other similar system? We cannot, so there is simply no way this question can be answered in a highly generic fashion other than the absolute basics.

As pointed out some years ago there exists a lot of documentation online, this has only increased and gotten a lot better in the intervening years :/

Anonymous’s picture

I know I'll cop flak, but why are all the experienced Drupal devs here so impatient with newer Drupal users?

I'm a Drupal newb and the question seems pretty straight forward to me. They're looking for where the region files are located within Drupal's directory so they can modify them. OP says right there: "I know I'm gonna need both the html and the css files."

Like me, most 'newbs' here have probably been handed a site and told to fix it within the day. They don't have time to read all the documentation as much as they would like to. It's unrealistic to learn the ins and outs of, what must be admitted, a very expansive CMS to complete a job that may take only an hour to do.

If someone just said 'Hey, the stuff you're looking for is probably located in X' or 'It depends on your theme. Most themes have these located in X' that would be just fine. Every time I am given an abrupt or rude answer to what's probably a simple question it makes me less inclined to use Drupal for future projects. The fewer users Drupal has, the fewer future contributors the open-source project will have.

If some experienced devs are still not happy helping out then Drupal.org should have a newbs section of the forums they can avoid.

TL;DR: we aren't all experts (yet), be patient with newbs.

jcaritas’s picture

Urgh -- can't seem to get rid of this without filling it in; sorry

Jeff Burnz’s picture

why are all the experienced Drupal devs here so impatient with newer Drupal users?

That's a sweeping generalisation that is far from the truth. People who are rude, bitch and moan and come across as self entitled generally don't get helped or get short sharp responses.

Sometimes seeing the same question posted for the 500th time gets weary, especially when you know the answers are few clicks away in the docs, and clearly they've not even bothered to use Google search etc. They just want an answer, and they want it NOW!!! And dam you to hell if you don't give it.

How can anyone who's new to an established project even hope to unravel it?

Here is a good example of someone just bitching for the sake of taking out their own frustration on OUR community. Oh look, it's you who wrote it...

You might want to address your own tone and attitude for attacking the very people who give their own time and money to this project to make it what it is, we donate thousands of hours and lines of code.

What have you done?