Main......css

Permalink
Hello and happy holidays everyone!

Ok so I'm loving every bit of my C5. It's been a year in the making, but I'm finally getting there!

I am constantly treading the line of using the C5 as designed and 'hacking' at it, and I hope this question falls into the former category.

The theme I'm using is black accents. It's perfect for what I'm trying to do. I want to make MINOR changes to it that aren't available in the theme design section of the dashboard. I know where the css (main.css&typography.css) live, and how they get injected into the DOM (themes/default/elements), but can't for the life of me figure out how to, in this case, change the offset of my logo by 20px.

I even changed
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('1main.css')?>" />
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('typography.css')?>" />


to 1main.css, just to make it fail, and not find the style sheet, and no dice. It still loads, and appears fine.

The odd thing is, in the melee of my testing, I was able to produce a desirable result, and the edits I made to main.css actually made it into the browser, and inspecting element (chrome) proved it as well.

However, the fact that I'm unable to consistently produce the above result with the same steps makes me feel like I'm heading down the wrong path.

I've cleared the cache more time than I can count, but I think I'm missing some of the fundamentals behind getSytleSheet, and was hoping someone could clue me in.

Thanks all - this is a fantastic community!

 
apc123 replied on at Permalink Reply
apc123
Got a link to the site so I can take a look?
harpboy929 replied on at Permalink Reply
I'm kinda embarrassed (as is often the case if you look at my other postings).

I cleared chrome's cache and everything is fine. But is it considered a good practice to edit main.css? Should I be handling these type of things with some of the PHP helper methods?

Thanks for your response :)
apc123 replied on at Permalink Reply
apc123
It's fine to edit anything in your theme directory.