• Resolved gharter

    (@gharter)


    I’m new to wordpress and I’ve been building my work’s site the past two weeks. Tonight I decided to put some code in the event calendar template section and blew out the footer part of my enterprise theme site. Any help is appreciated. Thanks.

    http://www.vaco.org

Viewing 10 replies - 1 through 10 (of 10 total)
  • It’s difficult to tell what the problem is without seeing the code. Can you post the full code from the file you updated?

    Paste the code you placed in the calander section. Looks like you are missing some closing html tags.

    Please see this before posting any code –
    http://codex.wordpress.org/Forum_Welcome#Posting_Code

    If it’s lengthy, you need to use a pastebin.

    Thread Starter gharter

    (@gharter)

    Thanks for your quick reply. I haven’t been able to sleep because of this mistake.

    Here is the code I received to fix a border box in the event calendar.

    Your theme is adding CSS which is putting these boxes around your events. You can easily override this by adding the following CSS to your theme’s style.css file:
    .eventsListWidget .alt {
    border: 0;
    }

    I didn’t know what to do with the code, so I messed around. Big mistake. I pasted that code in The Event Calendar/Settings/Template tab and a box labeled this…

    Add HTML before calendar

    If you are familiar with CSS you can use this box to add extra divs before the calendar list. Some Themes may require this to help with styling.

    That messed it up.

    Here’s the code

    [Please use a pastebin for that much code – see post above]

    What did you do with this code? Looks like proper css to me. What code did you place in the “event calendar template”? What can you load the template file on to pastebin and share the code so I can see the code.

    Thread Starter gharter

    (@gharter)

    Thread Starter gharter

    (@gharter)

    Sorry. I’m new to this. Here’s the URL of the code in pastebin. Thanks.

    http://pastebin.com/Y2WnLXem

    No problem – the CSS validator found the error without seeing the code anyway –

    You are missing a closing bracket here:

    #wp-calendar td {
    	background-color: #f5f5f5;
    	padding: 2px;
    	text-align: center;
    
    /* Footer Widgets

    it should be:

    #wp-calendar td {
    	background-color: #f5f5f5;
    	padding: 2px;
    	text-align: center;
    }
    
    /* Footer Widgets

    Thread Starter gharter

    (@gharter)

    Oh WOW. Fixed! Thanks so much! I can go to sleep now. Thanks again.

    g

    You’re welcome – sleep well :)!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘I really messed up my website’ is closed to new replies.