frasermarlow
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] Sidbar widget Title ColorThis is easily done by adding to your custom CSS file, assuming you know the class of the elements you want to modify. In Hueman, the elements on the sidebars have classes assigned as follows:
.widget_recent_entries or widget_recent_comments or widget_archive, widget_categories, widget_meta etc.
Use the element inspector in your browser to inspect each element and grab that class.
You can then simply change the attibutes of the whole div, just the <H3> element or any of the sub-elements in the DIV by adding a line to your custom CSS.
For example:
.widget_recent_entries { background-color: #b0c4de;}
.widget_recent_entries > H3 { background-color: #ffffff;}The first line will change the entire ‘recent entries’ section’s background color.
The second line will change just the title of the ‘recent entries’ section to have a white background.Hope this helps.
Forum: Themes and Templates
In reply to: [Hueman] Thumbnails not workingOK, thanks for sharing. I am going to guess your support request is not related to the theme but rather to the plugin (although of course the two can trip each other up…). Personally I prefer to work directly with the built-in WordPress image format generator (see ‘functions.php’ -> add_image_size function … around line 78 in Hueman function.php file).
Otherwise your challenge sounds very much like this one: https://benmay.org/2013/01/27/batch-resizing-45000-images-in-wordpress/
Forum: Themes and Templates
In reply to: [Hueman] How to change link colour?Good point – child themes are always recommended.
Forum: Themes and Templates
In reply to: [Hueman] Alex pls Help me on it :(PS: if you are looking for the calls that display the caption and description they are found in the folder ‘inc’ in the file page-image.php and read:
<?php
$caption = get_post(get_post_thumbnail_id())->post_excerpt;
$description = get_post(get_post_thumbnail_id())->post_content;
echo ‘<div class=”page-image-text”>’;
if ( isset($caption) && $caption ) echo ‘<div class=”caption”>’.$caption.'</div>’;
if ( isset($description) && $description ) echo ‘<div class=”description”><i>’.$description.'</i></div>’;
echo ‘</div>’;
?>Forum: Themes and Templates
In reply to: [Hueman] Alex pls Help me on it :(Hi hemeljon.
So my guess is that you want to use the Hueman theme to set up a merchandising website which shows lots of products, and your plan is to use one post for each product.
When you do that you can set a ‘Featured image’ for each post/product. You goal is to show the price of the product on the image in the category pages, correct?When you upload an image to WordPress there are four pieces of Metadata you can add with the image:
1) Title
2) Alt-Text
3) Caption (by default appears on the image in large white letters on the post page)
4) Description ( by default appears on the image in smaller text in the post page)Now, by default the CATEGORY pages do not display any of this information. even the ‘Alt-Text’ is swapped out for the post title.
The only item overlaid on the image in Category pages is the number of comments. This is handled in code lines 15 to 17 in the file content.php (and I recommend using a child theme before you go and modify).
So one option is to use one of the 4 image metadata fields listed above to store the price… this might be a weird shortcut, but would work.
Either way what you are looking to do is not supported out of the box and will take a bit of PHP work, but nothing that can’t be managed with child-theme files.
I hope this helps point you in the right direction.
Forum: Themes and Templates
In reply to: [Hueman] Thumbnails not workingCan you provide links to your project so we can see what is going on?
Forum: Themes and Templates
In reply to: [Hueman] Alex pls Help me on it :(Hi Hemeljon,
Can you send us a link to your project – that will help understand your request. Are you talking about adding prices to you can sell things (e-commerce)? One option is to use the caption on images or simply edit the image with the pricing before you upload… But generally if you want to overlay a price that comes from your database, this will take some custom coding.
Forum: Themes and Templates
In reply to: [Hueman] How to change link colour?This is an easy fix – just override the stylesheet in the WP control panel (Appearance > Edit CSS).
Drop this into your stylesheet and see what happens:
a:link {
font-size: 200%;
color: #0B59FF;
}Forum: Themes and Templates
In reply to: [Hueman] Dropcap not appearing on blog home pageAh… I see this thread is marked ‘Resolved’ … I will open a new one!
Forum: Themes and Templates
In reply to: [Hueman] Dropcap not appearing on blog home pageHi. I am back with a related issue… On the mobile version, drop caps appear in plain text… I.e. They appear as “[dropcap]A[/dropcap]” … Any clues?
Forum: Themes and Templates
In reply to: [Hueman] Dropcap not appearing on blog home pageSuperb – thanks Illuminatus_PPM.
Dr. Agnarson – thanks for the theme. We are all in your debt! I have hugged many people since I downloaded it.