Top left Misalignment in theme

Permalink
Hey im making my first theme :) and i have 1 main problem and that is that when it is in edit mode the c5 symbol in the top left is all messed up see the attachment

how can i fix this? it is in chrome and firefox as these are the only 2 i checked

(also how to you like the conversion so far)

1 Attachment

Mnkras
 
elyon replied on at Permalink Reply
elyon
Does the theme have anything that is applying CSS styles to the same class as the logo, or does it have styles that apply to something very basic, like every DIV?

You can use a debugger to try and track down the cause. I use Opera, and it has one built in. If I go to Tools > Advanced > Developer Tools, it opens Opera Dragonfly. Then as I click on elements in the page, it shows me all of the CSS styles that are applying to that object. I can even add new properties or change the values real-time. This is a great way to see where any unexpected styles are coming from, or to play with how styles should be changed to fix a bug I'm experiencing.
Mnkras replied on at Permalink Reply
Mnkras
i think i know whats wrong,

http://www.concrete5.org/help/building_with_concrete5/developers/th...

but i can't completely understand what its saying to do in the css file

here is the css

/********************************************
   AUTHOR:           Erwin Aligam 
   WEBSITE:           http://www.styleshout.com/
   TEMPLATE NAME:      CoolWater
   TEMPLATE CODE:    S-0019
   VERSION:          1.0     
   DATE:               November-07-2007        
 *******************************************/
/********************************************
   HTML ELEMENTS
********************************************/ 
/* top elements */
* { margin: 0; padding: 0; outline: 0; }
body {
   background: #caced1;
elyon replied on at Permalink Reply
elyon
Ah, I see.

Here is an example of "wrapping" everything:

<div id="page">(put the template body in here</div>


Then in your css, you would change a style like this

a {


to this

#page a {


So then the styles apply to all of the "a" tags inside of the page, rather than everywhere.
Mnkras replied on at Permalink Reply
Mnkras
Thankyou! after trying 20 different combos i finally got it!

at first i coded everything in the css file but that made some other stuff go wrong XD so i kept guessing and finally got it :)

Thanks!