Jump to content
Sign in to follow this  
christian_w

custom code vs. base.css

Recommended Posts

christian_w

Hey everyone, I am experiencing some weird problems with the base.css file. I was trying to style a table (see: http://krimtheo.criminologia.de/theorien/kontrolltheorien/control-balance-theory-tittle) and put the following lines of code in my base.css file

	table {
		margin: 10px;
		border-collapse: collapse;
		text-align: left;
		width: 80%;}
	table th
	{	font-weight: bold;
		color: #777;
		padding: 10px 8px;
		background-color: #f3f3f3;
		border-bottom: 2px solid #DEDEDE;}
	table td
	{
		color: #000000;
	        font-size: 80%;
		padding: 9px 8px 0px 8px;
	        border-bottom: 1px solid #DEDEDE;}

Platform Pro (1.3.0.2)/ PlaformBase (1.3.1) didn't recognize the styling. But when I use the same code within the "Custom Code" section of the PlatformBase theme it works perfect. The most bizarre thing is, however, that other CSS rules in my base.css file will be recognized. Any ideas what's going wrong.

Share this post


Link to post
Share on other sites
Kate

Hey Christian - Other new additions are recognized? Or code you created previously?

Share this post


Link to post
Share on other sites
christian_w

Hi Kate, I can change code I wrote previously in the base.css and the changes will be recognize. But when I add any code the changes won't aplly. I checked the base.css file on my server and the time stamp tells me that I can successfully save the base.css file. I also disabled all plugins, activated a different theme and re-activated the PlatformBase theme - but still no success with adding code to the base.css.

Share this post


Link to post
Share on other sites
cmunns

None of it works in base.css or just some of it? Can you please be more specific about what works and doesn't in both cases?

Share this post


Link to post
Share on other sites
christian_w

Hi everyone. I found the mistake: I copy and pasted some code into my base.css file last night and thereby accidentally commented out half my style sheet. Although I double checked I did not find the mistake until now.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×