Forum Replies Created
-
in reply to: Change page header content for Posts pages?
After upgrading to the newest Tower release today, the solution above no longer works. I can confirm that the if(is_category())… code is still in my wp-content/themes/tower-child/includes/view/page_header.php file.
What can I do to make this work again?
in reply to: Change page header content for Posts pages?Eureka: I have found that this code solves the problem:
if(is_category()) $title = single_cat_title("", false);Thank you again for your help. It would have taken me a long to find this!
in reply to: Change page header content for Posts pages?Thank you!
However, I’m not quite there yet. Using this code, I get a blank title. Doing a little debugging, I used:
if(is_category()) $title = sprintf("id=%s '%s'", $id, get_cat_name($id));What I found is that $id is always 880, and get_cat_name($id) = ”.
Are you certain that $id is the right argument for the get_cat_name() call?
Thank again.
in reply to: Change page header content for Posts pages?This reply has been marked as private.in reply to: Title of blog posts page affects formatting of pagePerfect! Thank you.
in reply to: Must click twice to SearchDo you have any advice about how I can implement this in my child theme? Using the functions.php content shown at https://wordpress.stackexchange.com/questions/163301/versioning-import-of-parent-themes-style-css, my site doesn’t pick up /js/main.js.
in reply to: Title of blog posts page affects formatting of pageThis reply has been marked as private.in reply to: Title of blog posts page affects formatting of pageAnother followup. Further testing shows that if I select “Active Page Header” = Off for a given Post, then it renders properly, regardless of the title length. The problem is, I need the active page header on my Post page for Categories and Tags.
in reply to: Title of blog posts page affects formatting of pageA followup… Every post whose name is less than about 15–20 characters at my site has this problem. Any post with a long title renders fine, but any post with a short title renders indented (centered?) with the right-hand sidebar listed in the left-hand column at the bottom of the page.
in reply to: My CSS selectors are overriddenThank you.
in reply to: My CSS selectors are overriddenNo, the opposite. I DO want my Custom CSS Code to be applied, but it is difficult. For example, if I use
.single_testimonial dl dd .param .position { color: blue; } // (index):398
…then the rule does not apply, because it is overridden by
.single_testimonial dl dd .param .position { color #aaa; } // style.css?ver=4.5.2:8207
I want my Custom CSS Code to take precedence over the same rule in style.css, but style.css is the one taking precedence.
in reply to: How to make "Service Small Icon" highlight on hoverAh, got it!
.services_small dt i:hover { color: #ffffff !important; }
.services_small .wrapper:hover { border: 1px solid #ffffff !important; background: #2fa2ef !important; }
Thank you again for all your help.
in reply to: How to make "Service Small Icon" highlight on hoverBrilliant, thank you :-)
However, could you help me invert the colors like with the “Service Circle Icon”—so that on hover, the blue image turns white and the white background turns blue?
in reply to: How to make "Service Small Icon" highlight on hoverThis reply has been marked as private.in reply to: What slider does the demo use?I can see from my browser’s Inspector that it is Revolution Slider 4.6.0.
More specifically, my question is that since the dummy data doesn’t include the Revolution Slider example material (perhaps this is part of what doesn’t import because the import always freezes at 65%?), how can I find instructions or an example on how to replicate the techniques used in the SEO & Marketing demo?