Forum Replies Created
-
AuthorPosts
-
September 10, 2015 at 2:30 pm in reply to: Different sidebar content on different pages – Executive Pro Theme #165162Paul JohnsonMember
Huh! For some reason the first link I provided didn't show up - let's try it the long way: Restrict Widgets - https://wordpress.org/plugins/restrict-widgets/
September 10, 2015 at 2:28 pm in reply to: Different sidebar content on different pages – Executive Pro Theme #165161Paul JohnsonMemberSimple Sidebars is indeed a good answer. Although for a different approach you could use a plugin that controls which pages widgets display on - or Widget Logic can do this.
Paul JohnsonMemberIf you mean in a blog listing, rather a single blog entry, I think it's '.entry-title a:hover'.
If you right-click on an element and select 'Inspect Element' (at least in Firefox or Chrome - something similar in others) you'll be presented with a mass of information. What you need to know is there if you can make sense of it (there are existing CSS rules on the right). For more guidance, google the documentation for your preferred browser's development tools.
Bear in mind that changing some CSS rules may have the effect you desire, but also affect other elements on the website.
Paul JohnsonMemberHi, the existing rule is in the style.css file which is in the root directory of your theme. Depending on your current setup you can probably edit it by going into WordPress and to Appearance->Editor. Although it would be good to have a backup in case you make any mistakes.
Probably simpler, and safer to use a plugin like Simple Custom CSS - https://wordpress.org/plugins/simple-custom-css/. Create a new rule like the existing one to override it.
There are lots of resources online for CSS color codes, just try googling it. Here's are a couple:
https://css-tricks.com/almanac/properties/b/background-color/
http://www.quackit.com/css/css_color_codes.cfmPaul JohnsonMemberIf you mean the comments button, there's a CSS rule that's on line 1238 in the original style.css :
.content .entry-meta .entry-comments-link a:hover { background-color: #333; color: #fff; }
If you change the background-color value there it should work. If you mean different buttons, perhaps you could provide a link.
Paul JohnsonMemberYou could try this CSS:
.entry-meta { display: none; }
Although that would stop all meta date (author name, categories, tags...) displaying on the whole site. Maybe this:
.al_product .entry-meta { display: none; }
The 'al_product' is a class on the element that contains the entry-meta on the page you link to. I don't know where it comes from, but I think it's reasonable to assume it'll only be there for products!
Paul JohnsonMemberGlad it worked - to the extent it did! The reason for the position being off is because the id/anchor is scrolling to the top of the page, but the sections have padding that appears above the text widgets. Also the fixed menu is displaying over the top of it.
You could counteract this with some CSS like this:
#text-5, #second-anchor, #third-anchor { border-top: 260px solid transparent; margin-top: -260px; }
I think that would work on the demo, which has 190px top padding on the sections and 70px menu. You may have to experiment with the values for your setup, and maybe have different settings for different sections - just keep the two values the same so the transparent border and negative margin cancel each other out and nothing is actually displayed.
This also assumes there's no existing border or margin that's going to be messed up by doing this, if there is you'll have to experiment with the values. It does seem to be getting a bit complicated, doesn't it?
BarbWolfe - can you point out where the problem is? The 'About Us' button in the first section seems to go to the same place as the menu item.
brennaclaire21 - all I see is a 'Coming Soon' page!
August 17, 2015 at 2:11 pm in reply to: Altitude Pro Secondary Navigation Menu – Keep Visible #162659Paul JohnsonMemberIn style.css line 934 you'll find this:
.site-header.dark .nav-secondary { display: none; }
You could try commenting it out (surround by /* and */), or edit or override it with the same thing, but replacing 'none' with 'block'.
Paul JohnsonMemberHi, I just tried answer this in this thread:
Paul JohnsonMemberLooks like the sections don't have ids like "front-page-2" that you can use. But the widgets have ids - if you look at the source of the Parallax demo page you'll find this sort of pattern:
<div class="home-even home-section-2 widget-area"><div class="wrap"><section id="text-5" class="widget widget_text">
I would have thought using a custom link that targets that id should work - http://your-domain.com/#text-5. The id may be different on your theme depending on how you've set up the widgets.
Hope that helps.
-
AuthorPosts