Forum

Please make sure that you have read the documentation and extensive resources provided on this site before posting your question!

Dynamic Content Gallery Resources

DCG Version 4.0 beta is now available for download and testing. This is a development version and not recommended for live sites. Read more here.

Note that the current stable release of the DCG is version 3.3.5.

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
DCG & Text Alignment
Status: closed
September 13, 2010
5:37 am
peterghintz
Guest

Please include details of the version of WP or WPMU, and your URL, when asking questions. Thanks!

Hello!

I set up the DCG correctly I think, but I want it to dock on the right side of my homepage so I can put text on the left. How do I move the DCG over, and where do I input the text so it appears beside it? What I pasted into "text after DCG" only appears underneath it…

URL is http://carrowneycleary.com
WP v. 3.0.1, Genesis Theme Framework v. 3.1

Thanks so much,
Peter

September 13, 2010
8:22 am
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

Hi,

Did you follow the instructions in the Executive Theme tutorials?

http://www.studiopress.com/support/showthread.php?t=21929

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
September 15, 2010
1:15 am
peterghintz
Guest

Hey again,

Yeah I changed my stylesheet to include everything in the tutorial as well as home.php but for some reason it won't align on the right. I'll paste the relevant sections below:

STYLE.CSS:

#home-top .featuredpost .post, #home-top .featuredpage .page {
width:400px;float:right;display:inline; '
}

#home-top .featuredpost, #home-top .featuredpage {

}

#home-top .featuredpost img, #home-top .featuredpage img {
background: #FFFFFF;
padding: 7px;
border: 1px solid #BBBBBB;
}

#home-full {
margin: 0;
padding: 0;
width: 420px;
float: left;
}

#home-dcg {
margin: 0;
padding: 0;
float: right;
}

and from my HOME.PHP:

Thanks so much for your help, whatever you can figure out is greatly appreciated.

Best,
Peter

September 15, 2010
1:19 am
peterghintz
Guest

Sorry, it won't let me paste the home code in the forum for some reason..should I pm you?

September 15, 2010
2:00 am
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

It would be helpful to remove the "empty" featured page widget from Home Top widget area. At least then there will be some dummy content to see what's going on.

As for home.php, did you paste this:

<div class="home-dcg">
<?php dynamic_content_gallery(); ?>
</div>

below this:

</div><!– end .home-full –>

Wait! Ok, I see that you added the DCG as a widget and didn't add the above code to home.php. Am I right?

Personally, I think the method described in the tutorial is easier, ie don't use the DCG widget, add the above code to home.php instead. If you then follow all the steps in the tutorial you will get the layout you want.

Make sense?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
September 15, 2010
4:09 am
peterghintz
Guest

Thanks so much,

I did paste that section into home.php, and I also thought it was strange but the Studiopress support said to put the featured page there in order to dock the DCG on the right…I'll try taking all the widgets out and doing it manually like you said.

I really appreciate your help,
Peter

September 15, 2010
10:30 am
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

Peter,

There is always more than one way to do something with WP. :-)

Given that the tutorial has exact instructions, I think it makes more sense to follow that. Of course, it is possible to do what the SP support people told you, but the CSS is a bit more complicated.

Anyway, good luck and glad I could help. :-)

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
Forum Timezone: UTC 1

Most Users Ever Online: 28

Currently Online: nloronacele
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

johnbroome: 13

sjpeaches: 12

speedyp: 12

CherylMcL: 10

littlemerry: 8

lsnoei: 8

Member Stats:

Guest Posters: 770

Members: 1297

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 7

Topics: 978

Posts: 4293

Newest Members: chargers3, jwhetstone, robert, Mak-Donuts, kilerb, Marian Bamboi

Moderators:

Administrators: Ade (2490)