businesslogs
Forum Replies Created
-
Just the paragraph of excerpt text or including the image and the tags? Because if it’s the former, you’ll need to add a class for the paragraph in your template.
<p class="excerpt"> /* ...excerpt code... */ </p>
Then in your CSS file:
.home .post-content .excerpt { padding: 10px; border: 1px solid #ccc; }
(If it’s the latter, no need for
.excerpt
, just use the CSS on.home .post-content
)Make sure, however, that the class
home
in the theme’s<body>
tag only appears one the homepage.Forum: Themes and Templates
In reply to: Adding gradient image to sides of my websiteWho made your background gradients? My suggestion is to “cut” it differently. You don’t need two images on either side of the page. What you need is one image that is a little wider than your layout with the gradient going from left to right, and only 1-pixel high. The dark blue of the gradient should be your current background color.
Use CSS to center align the background image and tile it vertically. Here’s the code:
body { background: #3a6a8e url(URLOFIMAGEHERE) 50% 0 repeat-y; }
3a6a8e is the hexadecimal color of your page right now.
This line is incorrect syntax so take it out:
<strong>background: transparent, url(https://visionaryresearchchems.com/wp-content/uploads/2011/01/blueleft.png) repeat-y left, url(https://visionaryresearchchems.com/wp-content/uploads/2011/01/blueright.png) repeat-y right ;</strong>
Forum: Fixing WordPress
In reply to: How to make some pages/posts invisible.Your theme is probably automatically displaying all the pages that you have created. My suggestions are:
1. Try installing this plugin: https://www.ads-software.com/extend/plugins/simply-hide-pages/ (or something similar)
2. If your theme has settings, check if it supports custom menus, so you can build one which you have full control over. If you have time, try going to your theme’s documentation or support forums.
However, this only stops the pages from displaying in the menu your theme uses and doesn’t prevent people from finding those pages via Google or by guessing URLs through their address bar.