yatiya
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Please help – increase amount of text shown in boxesSo I sort of figured it out. The theme is using the following code to link to the pages:
<div class="box-content"> <p><?php echo wp_kses_post(spiritedlite_content(74)); ?></p> <div class="clear"></div> <p><a href="<?php the_permalink(); ?>" class="simple-btn-small" style="color:#fff"> <?php esc_attr_e('Read More', 'spirited-lite');?> </a> </p> <div class="clear"></div>
By manipulating the number after content (default is 35), I can increase the amount of text, but it only seems to affect the first box.
So the question is, what exactly does that number mean? And how can I get it to affect the second box?
EDIT: ok, it looks like it did affect the second box as well, but because of how that text is formatted, it doesn’t take up as much of the space as the first box. So, can I use CSS/function, to make the second box ONLY, display more text?
Forum: Fixing WordPress
In reply to: Please help – increase amount of text shown in boxeshi Evan
No, unfortunately it doesn’t. Let me explain:
I am not trying to increase the amount of text shown for blog posts.
On my homepage, below the slider, there are three boxes. Each links to another page of the site (with a “read more” button)
Now, the amount of text shown from the linked pages in those boxes, is very limited, with the result that half the box is empty.
So what i want to do, is to show more text from the pages that those boxes link to, so that the box fills up, and the “read more” buttons line up at the bottom (at the moment they are at different levels, and it looks unprofessional)
I hope this makes sense.
Forum: Fixing WordPress
In reply to: Please help – increase amount of text shown in boxesThanks.
I tried the above, but it didn’t work. What it did do was to increase the excerpt length of my blog posts, but not the amount if text in the boxes:(
Any other ideas?
Forum: Themes and Templates
In reply to: [Spirited Lite] Spirited-Lite: Please help with customisationThank you
I’ve figured out the header image (3), as well as how to split the phone numbers up.
Regarding the 4th issue, you won’t be able to see it, because it only appears when I’m logged in as a poster. However, I’ve now created posts, so it’s not really an issue anymore.
This is the index.php code. I don’t see excerpt anywhere? Besides, I don’t want ALL my blog posts to display the whole post – just the front page three boxes.
get_header(); ?> <div class="container"> <div class="page_content"> <section class="site-main"> <div class="blog-post"> <?php if ( have_posts() ) : // Start the Loop. while ( have_posts() ) : the_post(); /* * Include the post format-specific template for the content. If you want to * use this in a child theme, then include a file called called content-___.php * (where ___ is the post format) and that will be used instead. */ get_template_part( 'content', get_post_format() ); endwhile; // Previous/next post navigation. spiritedlite_pagination(); else : // If no content, include the "No posts found" template. get_template_part( 'no-results', 'index' ); endif; ?> </div><!-- blog-post --> </section> <?php get_sidebar();?> <div class="clear"></div> </div><!-- site-aligner --> </div><!-- content --> <?php get_footer(); ?>
Thanks again
Forum: Fixing WordPress
In reply to: Make featured image appear to left of blog postsNevermind. I used a custom css to float: left, and padding-right: 20px, to do it and separate it from the post.
In addition, i used a custom styles.css to make it a specific size of 140 x 140 px (not sure why it’s using full-sized images, but then there’s a lot about WP that I don’t understand!)
Forum: Fixing WordPress
In reply to: Make featured image appear to left of blog postsI THINK what I need to do, is to put the post and the featured image into one container. Problem is, I have no idea how to do that. Any ideas?
Forum: Fixing WordPress
In reply to: Adjust content width of Blog pageThank you Digico and Innuvo!
Forum: Fixing WordPress
In reply to: Adjust content width of Blog pageWow thanks!
I use SiteOrigin Custom CSS, so I just pasted your code into that.
I’m learning, so can I ask – How did you decide what the breakpoint is?
Forum: Fixing WordPress
In reply to: Adjust content width of Blog pageSure, sorry, I should have put it in the original post!
Forum: Fixing WordPress
In reply to: Adjust content width of Blog pageThanks Innuvo. I also thought that’s the way to go. The problem is, WordPress doesn’t seem to assign a page ID to a static Blog Page? How would I identify what that ID is?
Forum: Fixing WordPress
In reply to: Adjust content width of Blog pageUmmm. Maybe for you:) I’m a noob. Do I put that in the header.php?
Forum: Fixing WordPress
In reply to: Please help with tweaking layoutFinally! I have sorted all issues 1-5! ??
Forum: Fixing WordPress
In reply to: Relocate Header Image without affecting rest of pageI’ve sorted it out by referencing the styles.css specifications, editing the size of the image there, and using a bit of custom styles.css.
Forum: Fixing WordPress
In reply to: Header Phone numberYES! That split them up. However, nothing happens when I click/tap on them? Do I need to add a tel: command somewhere? or maybe an href?
So, with this method, I’ll have to edit the numbers manually if they ever change, right? The previous code linked them to the customizer. I don’t mind, I’m just curious.
Forum: Fixing WordPress
In reply to: Make phone number clickable in headerThanks. Not encouraging that mine is the only post there….