developdesign
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] Styling not working in 2.15I also noticed that I have 3.9.1 installed and that seems to be part of why the Styling options aren’t displaying. The Colorpicker isn’t displaying.
Forum: Themes and Templates
In reply to: [Hueman] woocommerce integrationWas a plugin conflict. Working now.
Forum: Themes and Templates
In reply to: [Hueman] change the color of a self created sidebarI’d say it’s here:
.s2 .sidebar-top, .s2 .sidebar-toggle, .post-comments, .jp-play-bar, .jp-volume-bar-value, .s2 .widget_calendar caption { background-color: #468290; }
I think s2 is “primary” sidebar and s1 is secondary sidebar.
I’d suggest putting that code into your child theme CSS or custom CSS file and then change the color.
NOTE: #468290 is a custom color I’ve added, but css is same.Forum: Themes and Templates
In reply to: [Hueman] Reduce width of sidebar@davestone, thanks for the CSS. I’ve been trying to adjust my width. In both Firefox and Chrome, the “middle” state ( I guess for tablet view? ), the sidebar color overlaps the content. In mine sidebar is basically gray and it overlaps the white content background. In the desktop and mobile view it’s not an issue.
Essentially, in the tablet view, the sidebar is hidden and instead it displays the arrow to pull out the sidebar, but the gray background is not getting hidden.
Forum: Themes and Templates
In reply to: [Hueman] how to create gap between header and body using CSS?The header / page code works, thanks!
Forum: Themes and Templates
In reply to: [Hueman] how to create gap between header and body using CSS?When I apply ‘red’ to “body” in style.css or do same to child theme css, it doesn’t change anything.
Forum: Themes and Templates
In reply to: [Hueman] how to create gap between header and body using CSS?I’ve continued playing with the CSS and if I put margin:20px or margin-bottom:20px I’m always getting the white #FFF background.
In other words, the way that the footer separates from the rest of the layout ( content / sidebar ) and you can see the background. I want to do the same thing with the header and possibly the sidebar.
Help please?!
I solved the issue. Basically when I used the 2.0.8 / child theme combination, there is an option to add a background under the styling section. Now I can see the background again, although I’m not using the CSS file to display the background.
Forum: Fixing WordPress
In reply to: do sticky posts include images?I was looking at the multiple loops code and using
<?php endwhile; ?>
on first loop and<?php endwhile; ?> <?php endif; ?>
on the second loop.
The sticky post is using the_content() and the recent news is using the_excerpt()BUT when I reverse the order of ‘recent posts’ and ‘sticky posts’ code, and switch the positions of the
<?php endif; ?>
to the bottom of the sticky post code – the image and most text aren’t displayed.Forum: Fixing WordPress
In reply to: do sticky posts include images?Esmi – then what do I use?
It’s the only solution so far when it actually shows the image in the post, it just doesn’t format the paragraphs.
Here’s my options so far.Here: https://greenlightresources.ca/
It’s ‘get post’ then ‘sticky post’ and then ‘recent news’ and it all works ( except I want to put ‘recent news’ above ‘sticky post’Here ( password: test ): https://greenlightresources.ca/test-home/
If I use the ‘recent news’ code then the ‘sticky post’ code, then the image and most of the text doesn’t display.Here ( password: test ): https://greenlightresources.ca/test-home-4/
Uses specific post code, and just need paragraphs to format.Forum: Fixing WordPress
In reply to: do sticky posts include images?Well I started with one post on sticky posts, then expanded it to including having multiple posts on one page, so to me they weren’t the same post.
In either case it’s unfortunate I can’t seem to get any responses on how to solve this coding problem.
I don’t understand why the sticky post code works fine when above the recent news code then strips images / text when below the recent news code.
I’ve had the post up a month, so I’d really appreciate help.
Forum: Fixing WordPress
In reply to: do sticky posts include images?If I use the following code to pull a specific post after the recent news code, I get the image but the paragraphs aren’t formatted ( no paragraph separation between paragraphs )
<?php $post_id = 134; $queried_post = get_post($post_id); ?> <h2 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <?php echo $queried_post->post_content; ?>
Note: I’m using ‘get a post” code is at top of page as well. Should I have an closing php tag with this code?
<?php /*code to display slideshow*/ get_a_post(211); ?> <?php the_content(); ?>
Forum: Fixing WordPress
In reply to: do sticky posts include images?I’ve looked at the forum rules, so I’m not sure what I did wrong as they aren’t duplicate posts ( although both have to do with sticky posts ).
So I’m going to post here, since I’ve not been given any feedback on how to post correctly.
Note: This is the recent news code
<?php query_posts('showposts=1&cat=3'); while(have_posts()) : the_post();?> <h2 class="entry-title"><?php the_category(3); ?></h2> <h2 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <div class="entry"><?php the_excerpt(); ?></div> <?php endwhile; ?>
Sticky post code here:
https://pastebin.com/6WRSeHvUIF I use just sticky post then it shows image, but if I use a most recent news post above the sticky post then it strips the image and most of the content??
Maybe I’m missing a reset query code, so that’s why it’s stripping sticky post or ?Forum: Fixing WordPress
In reply to: do sticky posts include images?Why close my other post when I directed you to it??
Do you want me to post the content in the other post here?Forum: Hacks
In reply to: latest news post then sticky post – sticky post image stripped outIf I use the following code to pull a specific post after the recent news code, I get the image but the paragraphs aren’t formated ( no paragraph separation between paragraphs )
<?php $post_id = 134; $queried_post = get_post($post_id); ?> <h2 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <?php echo $queried_post->post_content; ?>
Note: I’m using ‘get a post” code is at top of page as well. Should I have an closing php tag with this code?
<?php /*code to display slideshow*/ get_a_post(211); ?> <?php the_content(); ?>