go41

Make 2 Featured Sections Next To Each Other

von Joern am 24. Apr. 2010 | Keine Kommentare

(Copied the text from the Arthemia Free forum)
I’m testing this theme for my job’s website at www.godaisies.com/LIS
So what I need help in doing is that I want the Featured section to be two columns wide instead of continuing down the page. Ideally it’d be two featured articles per column. As you can see, I’ve moved the featured section below the headline and have let the widgets take over the right sidebar.
Is there a way to make a second featured section which will float next to the first one like this:
[Article One] [Article Two]

[Article Three] [Article Four]
I tried Joren’s suggestions from here (http://michaelhutagalung.com/forum/topic.php?id=1411) but I was unable to get the second featured section to float to the right.
Thanks!

(von: Hanscrafter)

Hier noch 10 weitere Ergebnisse dieses Threads:

Re: Make 2 Featured Sections Next To Each Other :: Reply by Joern

24. Apr. 2010 (von: Joern)

you have now a div id featured inside a div id featured, not following a first one.The complete code for this div in original theme isCode:<div id="featured">   <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/featured.png" width="72px" height="17px" alt="" />   <?php query_posts("showposts=4&category_name=Featured"); $i =…

Re: Make 2 Featured Sections Next To Each Other :: Reply by Hanscrafter

26. Apr. 2010 (von: Hanscrafter)

Thanks, Joern for the assistance. I appreciate it very much. So I followed your steps above with a little modification since the positioning of where I want the featured column to be is further down the page. However, when I…

Re: Make 2 Featured Sections Next To Each Other :: Reply by Hanscrafter

26. Apr. 2010 (von: Hanscrafter)

I forgot that I also duplicated #featured .info and #featured .clearfloat in an attempt to get the picture and info text working for the featuredright section. Weiterlesen →

Re: Make 2 Featured Sections Next To Each Other :: Reply by Joern

26. Apr. 2010 (von: Joern)

sorry, not much time by now, but looking at your style.css I see:<!-- My attempt at a 2nd featured column to the right -->THIS IS NOT WORKING IN STYLE.CSS!The browser stops reading this file on the first occurance of a…

Re: Make 2 Featured Sections Next To Each Other :: Reply by Hanscrafter

26. Apr. 2010 (von: Hanscrafter)

Duly noted and changed. Unfortunately, that doesn't seem to have made a difference in just making changes to the style.css. I appreciate your sharp eye. Weiterlesen →

Re: Make 2 Featured Sections Next To Each Other :: Reply by Joern

26. Apr. 2010 (von: Joern)

to get the image styled edit this in style.css:#headline a img, #featured22 a img {...to look like this:#headline a img, #featured22 a img, #featuredright a img {...the title beside the images is normally in#featured .info {float:right;margin-top:5px;p... Weiterlesen →

Re: Make 2 Featured Sections Next To Each Other :: Reply by Hanscrafter

30. Apr. 2010 (von: Hanscrafter)

I had to do a lot more workarounds to get the alignment correct. Thank you so much for your effort!I'm still working on the duplication issue and came across this post (http://www.wprecipes.com/how-to-use-two ... cate-posts) which might solve it once t...…

Re: Make 2 Featured Sections Next To Each Other :: Reply by master

1. Mai. 2010 (von: master)

you have four posts in this category, so having one loop displaying two posts:Code:<?php query_posts("showposts=2&category_name=Featured"); $i = 1; ?>and the next loop displaying also two posts with an offset=2 should work:Code:<?php query_posts('showposts=2&category_name=Featured&offset=2'); $i = 1; ?>This is the sample code…

Re: Make 2 Featured Sections Next To Each Other :: Reply by Hanscrafter

3. Mai. 2010 (von: Hanscrafter)

Thank you both so much for your help! I was finally able to correct this problem of duplication. In the future, I hope this thread will assist others. One of my Featured stories was breaking the design and I eventually…

Issue with text and button spacing. CSS issue maybe? Help!

9. Aug. 2013 (von: omerkhan01)

Hi there, My site is located hereAs you can see the "Just pay 360.00 now", is spaced quite a bit from the button below.It is using an H6 header tag. When I remove the h6 tag and place the text…

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: