.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
font-weight: bold;
margin-top: 1.5em;
margin-bottom: 0.75em;
line-height: 1.3;
}
.entry-content h1 { font-size: 2.25em; }
.entry-content h2 { font-size: 1.875em; }
.entry-content h3 { font-size: 1.5em; }
.entry-content h4 { font-size: 1.25em; }
.entry-content h5 { font-size: 1.125em; }
.entry-content h6 { font-size: 1em; }
.entry-content p {
margin-bottom: 1em;
line-height: 1.7;
}
.entry-content a {
color: #2563eb;
text-decoration: underline;
}
.entry-content a:hover {
color: #1d4ed8;
}
.entry-content ul, .entry-content ol {
margin-bottom: 1em;
padding-left: 1.5em;
}
.entry-content li {
margin-bottom: 0.5em;
}
.entry-content blockquote {
border-left: 4px solid #e5e7eb;
padding-left: 1em;
margin: 1.5em 0;
font-style: italic;
color: #6b7280;
}
.entry-content img {
max-width: 100%;
height: auto;
margin: 1em 0;
}
.entry-content table {
width: 100%;
border-collapse: collapse;
margin: 1em 0;
}
.entry-content th, .entry-content td {
border: 1px solid #e5e7eb;
padding: 0.75em;
text-align: left;
}
.entry-content th {
background-color: #f9fafb;
font-weight: bold;
}
.entry-content pre {
background-color: #f3f4f6;
padding: 1em;
border-radius: 0.375rem;
overflow-x: auto;
margin: 1em 0;
}
.entry-content code {
background-color: #f3f4f6;
padding: 0.25em 0.5em;
border-radius: 0.25rem;
font-family: monospace;
}
.entry-content hr {
border: none;
border-top: 1px solid #e5e7eb;
margin: 2em 0;
}
.comments-area {
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px solid #e5e7eb;
}
.comments-area h2, .comments-area h3 {
font-size: 1.5rem;
font-weight: bold;
margin-bottom: 1rem;
}
.comments-area .comment-list {
list-style: none;
padding: 0;
}
.comments-area .comment {
margin-bottom: 2rem;
padding: 1rem;
background-color: #f9fafb;
border-radius: 0.5rem;
}
.comments-area .comment-author {
font-weight: bold;
margin-bottom: 0.5rem;
}
.comments-area .comment-content p {
margin-bottom: 1rem;
line-height: 1.6;
}
.comments-area .comment-form label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
}
.comments-area .comment-form input, .comments-area .comment-form textarea {
width: 100%;
padding: 0.75rem;
border: 1px solid #d1d5db;
border-radius: 0.375rem;
margin-bottom: 1rem;
}
.comments-area .comment-form button, .comments-area .comment-form input[type="submit"] {
background-color: #2563eb;
color: white;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 0.375rem;
cursor: pointer;
}
<a href="term_id)); ?>" class="no-underline">
name); ?>
words
'w-full h-64 lg:h-96 object-cover',
'loading' => 'lazy',
'decoding' => 'async',
'alt' => esc_attr($alt),
]);
?>
<img src="https://placehold.co/1200x600" alt="" class="w-full h-64 lg:h-96 object-cover" loading="lazy" decoding="async">
Tags
<a href="term_id)); ?>"
class="inline-block bg-gray-100 hover:bg-gray-200 text-gray-700 text-sm px-3 py-1 rounded-full transition-colors duration-200 no-underline">
#name); ?>
Previous Article
<a href="ID)); ?>"
class="block text-blue-600 hover:text-blue-800 font-medium transition-colors duration-200 no-underline">
← post_title); ?>
<div class="text-right ">
Next Article
<a href="ID)); ?>"
class="block text-blue-600 hover:text-blue-800 font-medium transition-colors duration-200 no-underline">
post_title); ?> →
wp_get_post_categories(get_the_ID()),
'numberposts' => 3,
'post__not_in' => array(get_the_ID()),
'orderby' => 'rand'
));
if ($related_posts) :
?>
Need Professional Switchgear Services?
SwitchgearMFG has over 45 years of global experience in switchgear manufacturing and maintenance.
Contact our experts for reliable low voltage switchgear solutions.