Chris
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Need to center both image and text side by sideIf I just remove it and save, would my site go back up?
Forum: Fixing WordPress
In reply to: Need to center both image and text side by sideThis is at the bottom of the file
function cc_recommends( $atts ) { $a = shortcode_atts( array( 'text' => 'something', 'url' => 'something else', 'urltext' => 'something else again', ), $atts ); ob_start(); ?> <style type="text/css"> .ct-recommends { text-align: center; display: block; border: 1px solid #BEBEBE; border-width: 1px 0; overflow: hidden; width: 100%; } .ct-recommends div { display: inline-block; max-width: 50%; vertical-align: -webkit-baseline-middle; vertical-align: middle; } </style> <div class="ct-recommends"> <div> <img class="wp-image-1644 alignleft lazy-loaded" src="http://www.cutcabletoday.com/wp-content/uploads/2015/06/MrCCT-Head1.png" data-lazy-type="image" data-src="http://www.cutcabletoday.com/wp-content/uploads/2015/06/MrCCT-Head1.png" alt="Mr. Cable Cutter" width="110" height="121"><noscript><img class=" wp-image-1644 alignleft" src="http://www.cutcabletoday.com/wp-content/uploads/2015/06/MrCCT-Head1.png" alt="Mr. Cable Cutter" width="110" height="121" /></noscript> </div> <div> <?php echo "<h3>{$a['text']} <a href=\"{$a['url']}\">{$a['urltext']}</a></h3>\n"; ?> </div> </div> <?php return ob_get_clean(); } add_shortcode('cc-recommends', 'cc_recommends');Forum: Fixing WordPress
In reply to: Need to center both image and text side by sideYes I am in FTP now
Forum: Fixing WordPress
In reply to: Need to center both image and text side by sideyes i inserted it at the bottom
Forum: Fixing WordPress
In reply to: Need to center both image and text side by sideI can’t even log in to my wordpress dashboard anymore..any clue?
Forum: Fixing WordPress
In reply to: Need to center both image and text side by sideSamuel,
I put the css in and received this:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
No my site is down. Can you help? What went wrong?
Forum: Fixing WordPress
In reply to: Need to center both image and text side by sideThanks so much for this. I will try this later today and let you know. Much appreciated.
Forum: Fixing WordPress
In reply to: Need to center both image and text side by sideThe page is now live at http://www.cutcabletoday.com.
I tried the code you put, but it centered the avatar and the text, with the head above the text.
I was wondering if there is a way to take it exactly as it stands now and move the entire thing to the center, avatar and text side by side.
The code that is in there now is simply he result of me trying to manually space things in the wordpress visual editor window. It looks messy to me, but it is working so I have been hesitant to try and clean it up.
Forum: Fixing WordPress
In reply to: Need to center both image and text side by sideOkay, this may sound like a dumb question, but where would I actually add this CSS? I know a bit about html, but my CSS knowledge is minimal. I rarely actually get into the CSS to change anything…
Forum: Fixing WordPress
In reply to: Need to center both image and text side by sidehttp://www.cutcabletoday.com/wp-content/uploads/2015/06/head-screen-shot.png
This is what it currently looks like. I want the head and “Mr. Cable Cutter recommends: Sling TV” to all be centered horizontally.
Thanks for the help!
By the way, my site is http://www.cutcabletoday.com