Archived

This topic is now archived and is closed to further replies.

  • 0

Featured Image's Style

Question

Posted · Report post

The featured image in a post always is on the left side. What style do I need to change to move it to the right?

Share this post


Link to post
Share on other sites

17 answers to this question

Posted · Report post

I need to do these changes: 1. I need to remove the words "Archive for" from the "Archive for ..." in the template 2. I need to customize the archive page. It shows the title of the regular categories but it does not show the taxonomies I have specified for certain custom post types. Currently it only says Archive for "". There is nothing between the quotation marks. 3. I need to remove the date and other stuff for certain taxonomies' archive pages. Should I change several pages in the theme's core files to do this?

Share this post


Link to post
Share on other sites

Posted · Report post

In template.postloop.php you will have to change the variables in this portion (the margins applied, compare to your current for how they changed) ` <?php if(pagelines_show_thumb( get_the_ID() )): // Thumbnails ?>

<?php endif; ?>
` Then all you need for css is `.post-thumb {float:right;}`

Share this post


Link to post
Share on other sites

Posted · Report post

cmunns, 1. For some reason part of the code you placed here is not visible. Would you post it again? 2. Is there any way I don't touch the theme's core files? This in means every update I have to edit them instead of editing the child theme. Is there any way you add this as a part of CSS?

Share this post


Link to post
Share on other sites

Posted · Report post

Where is that file located?

Share this post


Link to post
Share on other sites

Posted · Report post

You should be able to accomplish all of this within the library.templates.php file look for this function function pagelines_do_posts_info(){...

Share this post


Link to post
Share on other sites

Posted · Report post

Yes it cuts off, but if you copy it, it will all transfer. Also, if you copy template.postloop.php into the base root folder you can make changes to it there without worrying and it will take precedence over the original file. You could do it with CSS if you prefer, but since this deals with inline styles. you would have to use the !important tag.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks. I prefer CSS. That way I can have an RTL version of PlatformPro all in one CSS file. So what should I put in the CSS with the !important sign. In the code I see this line:

<div class="post-thumb" style="margin-left:-<?php echo $thumb_space;?>px">

It does not define a specific number.

Share this post


Link to post
Share on other sites

Posted · Report post

Also, do you have any suggestion for fixing the archive pages like this one: http://kermeketab.com/topics/poetry I need the thumbnail to float to the right.

Share this post


Link to post
Share on other sites

Posted · Report post

Start by using this. You'll also have to adjust the left margin of the content. ` .post-thumb { float:right; //overrides inline style margin-right:0!important; } `

Share this post


Link to post
Share on other sites

Posted · Report post

For the thumbs... ` .clip .clip-thumb a { float:right; margin-left:10px; } ` Also, the other problem looks solved. Do you really want to change it, I assure you file is safe if in Base (hah that rhymes)

Share this post


Link to post
Share on other sites

Posted · Report post

I added that to the 'Custom Code' but it did not work. It made the thumbnail hidden instead of moving it to the right. The thumbnail's place on the left side stays empty.

Share this post


Link to post
Share on other sites

Posted · Report post

CORE > LIBRARY > library.templates.php

Share this post


Link to post
Share on other sites

Posted · Report post

No. That is ok. Thanks for codes. What PHP files defines the archive page?

Share this post


Link to post
Share on other sites

Posted · Report post

I could probably answer that if it were one of the other themes. Everything is completely different in PlatformPro. Go ahead and bump for the developers to see you. Thanks, Bryan

Share this post


Link to post
Share on other sites

Posted · Report post

Let's get a link with the CSS active so we can see and possibly adjust. Thanks, Bryan

Share this post


Link to post
Share on other sites

Posted · Report post

Excuse my poor English, but what does "bump for the developers to see you" mean?

Share this post


Link to post
Share on other sites