cfhjag
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Change style of nav link hoverAll good, found it in #navmenu ul li
Forum: Plugins
In reply to: MP3j-Player shows up but isn't activeIncluded the footer at the end and then it worked…
Forum: Themes and Templates
In reply to: Get rid of drop shadow around thumbnailsFound it! It was all in here:
.postitle_lay a {color: #26AE90;} .post_content2 { width: 100%; margin-bottom: 3px; float: center; clear: both; border-radius: 0px 0px 0px 0px; box-shadow: 0px 0px 0px 0px(0, 0, 0, 0); -moz-box-sizing: border-box; height: 170px; overflow: hidden; border-top-width: medium; border-center-width: 1px; border-top-style: none; border-right-style: solid; border-center-style: solid; border-center-color: #CCC; border-right-width: 0px; border-right-color: #CCC; padding:4px; }Forum: Themes and Templates
In reply to: [Gridsby] MENU button doesn't workI’ve realised that it must be a floating iframe or something because when I make the browser window smaller, and the site has to adjust, everything moves around and then it works.
Would anyone know what’s going on?
Thanks!
Forum: Fixing WordPress
In reply to: Publish posts in two different ways on the same siteI got it to work! Simply created an category-news.php file and put it in the main directory. I put it in another folder before, that’s why.
Thanks again for your help!
Forum: Fixing WordPress
In reply to: Publish posts in two different ways on the same siteThis link is in my header.php together with my other links (About, CV, Press etc).
I guess the way my posts look is all in my archive.php.That’s my archive file. Please don’t comment on the dirty code. I’ve customised the heck out of it and it’s not pretty.. π
BTW, I’m using Simple Image Grabber to pull in the images.
Forum: Fixing WordPress
In reply to: Publish posts in two different ways on the same siteYes, but extremely modified. Using a quite random way to pull in the posts into the grid.
Code to pull in the category “Selected Work”:
<?php // Get the ID of a given category $category_id = get_cat_ID( 'Selected Work' ); // Get the URL of this category $category_link = get_category_link( $category_id ); ?> <br><a href="<?php echo $category_link;Β ?>" title="Work" class="a">Work</a>The only problem right now is that I want to change how “News” look.
Forum: Fixing WordPress
In reply to: Publish posts in two different ways on the same siteI understand that I need to create a new file in the directory called category-news.php, which I’ve done. I’ve posted the news posts in my ‘News’ category but somehow it doesn’t seem to connect to the php.
Forum: Fixing WordPress
In reply to: Publish posts in two different ways on the same siteThanks for your reply!
Sorry, but I’m not enormously confident with WP coding etc so would you mind explaining in just a few (or as many as you would like) words in more detail how to do this?
Thanks for your help!
Forum: Themes and Templates
In reply to: Posts in three columnsI sorted the number of posts out as well! The only question left is how to create a line that would sit between the rows of posts. I’ve got 5 on each row and under those I’d like a line to separate them from the ones beneath.
Thank you all!
HForum: Themes and Templates
In reply to: Posts in three columnsThank you so much for this post! Really helped me alot!
I modified it and used 5 coloumns instead though<?php
$col = 0;
$cols_per_row = 4;
while (have_posts()) : the_post();
if($col == 0) echo ‘<tr>’;
?>works fine!
I just wonder if there’s a way to insert a line that would sit under each group of 5 posts. To seperate the rows from each other?
Also, how can I change the width of the posts?
(update:just fixed this one myself)One last thing, how can I limit the number of posts on the main page, index page?
Thank you so much for great support feedback!
H