Mohammad
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] Display post from one category on home pageHi there,
I wanted to exclude one category and I added this code to my child theme functions.php where 999 is the category id to exclude.
You can do the same or try a plugin e.g.
https://www.ads-software.com/plugins/ultimate-category-excluder/function exclude_category( $query ) { if ( $query->is_home() ) { $query->set( 'cat', '-999' ); } } add_action( 'pre_get_posts', 'exclude_category' );
Forum: Themes and Templates
In reply to: [Hueman] CSS issue. Can not set widthHi,
I have the same issue. My child theme used to work with the increased width to 340 but it seems that the new update has moved the sidebar width to js. My custom css that was working is now failing when the screen width requires collapsing s2.
.col-3cm .main-inner { padding-right: 340px; } .col-3cm .sidebar.s2 { margin-right: -340px; } .col-3cl .sidebar.s2 { margin-right: -340px; } .col-3cr .sidebar.s2 { margin-left: -340px; } .sidebar.s2 { width: 340px; } @media only screen and (min-width: 480px) and (max-width: 1200px) { .col-3cm .s2.collapsed {margin-right: -50px;} .col-3cm .s2.collapsed {width: 50px;} .s2-expand .s2 {width: 340px;} .s2-expand .s2 .sidebar-content { display: block; min-width: 340px; } }
Forum: Themes and Templates
In reply to: [Hueman] switching sidebar sidesGlad to hear. Can you mark the post as resolved then?
Forum: Themes and Templates
In reply to: [Hueman] follow & more right to leftHi,
Where did you put it? Are you using the custom.css or a child theme or…
Forum: Themes and Templates
In reply to: [Hueman] switching sidebar sidesHi,
I actually needed something similar and changed it like this in my child theme css. Note that I only needed to increase the size of the side bar on right:
/* ------------------------------------------------------------------------- * * Section: Side Bar /* ------------------------------------------------------------------------- */ /* 3 column, content middle */ .col-3cm .main-inner { padding-right: 340px; } .col-3cm .s2 { margin-right: -340px; } /* sidebar secondary */ .s2 { width: 340px; }
Also, you have to change the size of two background images to be the same as what you need
\hueman\img\sidebar\s-right-s1.png
\hueman\img\sidebar\s-right-s2.pngSwitching the position is already discussed here but needs more changes and is not very easy.
Mohammad
Forum: Themes and Templates
In reply to: [Hueman] FOLLOW:?Hi,
Check the documentation in Theme Options page from the help drop down.
It is in Theme Options -> Social Links
you can find the font (icon) names here:https://fortawesome.github.io/Font-Awesome/icons/
Mohammad
Forum: Themes and Templates
In reply to: [Hueman] Front page display Latest postHi,
Have you tried setting the image as the “featured image” of the post?
Best,
MohammadForum: Themes and Templates
In reply to: [Hueman] follow & more right to leftHi,
Put this in your CSS (preferably in a child theme or custom.css):
.sidebar-top p { float: right; }