shadow839
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] Site title as well as logo not workingYour welcome 🙂
Forum: Themes and Templates
In reply to: [Hueman] logo, title site and tag linePerhaps this will help?
https://ww.wp.xz.cn/support/topic/site-title-as-well-as-logo-not-working/
Forum: Themes and Templates
In reply to: [Hueman] Site title as well as logo not workingHi @1plus2,
No worries, I should of documented the changes I made here, plus it reminds me that I had forgot to make a note of it myself! I remember it taking an absolute age trying to trace the flow of the code to see where abouts it was actually outputing the site title. In the end, the change I needed to make was extremely simple!
Find init-front.php in the functions folder of the main Hueman theme. Scroll down to around line 390 (this should be in the function hu_get_logo_title). You should see this line:
$logo_or_title = '<img src="'. $logo_src . '" alt="' . get_bloginfo('name'). '">';You want to change that to the following:
$logo_or_title = '<img src="'. $logo_src . '" alt="' . get_bloginfo('name'). '">' . get_bloginfo('name'). '';Like I said, and extremely simple change but it took ages to figure that out! You might need to do some styling to get it where you want it, maybe not, but that should sort you out.
You will also need to add in this code again when the theme gets updated since this is in the parent theme. I do use a child theme, but didn’t know how to get this change into that, and had enough at that point anyway!
Hope it helps 🙂
- This reply was modified 8 years, 1 month ago by shadow839.
Forum: Themes and Templates
In reply to: [Hueman] Site title as well as logo not workingI have now solved the problem myself by adding some custom code.
Forum: Themes and Templates
In reply to: [Hueman] Problem with image sizes!I actually found out that one of my problems was with Photoshop. I was taking a screen shot of the page and then loading it into Photoshop and checking to see what the dimensions were of an image. But it was not setup correctly based on screen resolution etc (which I still hasven’t really fixed), it was reporting different image dimensions, so was confusing me. Using an extension for your browser (I use firefox) such as ‘measureit’, I was able to measure the dimensions of things in the browser itself, realising Photoshop was at error.
In regards to the sizing of images take a look at some of these pages which might help:
https://wphero.io/blog/ultimate-guide-wordpress-image-sizes/
http://www.wpbeginner.com/wp-tutorials/how-to-prevent-wordpress-from-generating-image-sizes/
http://www.wpbeginner.com/wp-tutorials/how-to-create-additional-image-sizes-in-wordpress/
https://wpshout.com/wordpress-custom-image-sizes/Hopefully this helps you or anyone else.
Forum: Themes and Templates
In reply to: [Hueman] Table ‘stripes’ not working when internal link usedThanks for looking into that, much appreciated. I’m not sure why it uses Javascript either. I implemented the code, but for some reason the 2017 events table had every row as grey. There are two tables on the ‘Membership’ page as well, as one of the tables had every row grey as well! Very odd? Seems complicated for a very simple thing!
Forum: Themes and Templates
In reply to: [Hueman] Table ‘stripes’ not working when internal link usedYes, the link is http://www.cotswoldbsac332.co.uk/events/#2017
Thanks.