Forum Support

Shape 5
March 29, 2024, 04:42:42 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Assigning widget to specific page  (Read 1419 times)
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #15 on: January 28, 2015, 06:25:43 AM »

I'll need a link so I can see what's happening.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
kkoryaka
Jr. Member
**
Offline Offline

Posts: 102



« Reply #16 on: January 28, 2015, 10:48:45 AM »

Here you go: http://173.254.28.37/~iltonlin/category/latest-news/
Also, is it possible to make featured images visible in categories view but not visible inside of article view. Or in article view make featured images bigger (like full width...)? Right no featured images are super small inside the articles.
Logged
kkoryaka
Jr. Member
**
Offline Offline

Posts: 102



« Reply #17 on: January 28, 2015, 11:35:05 AM »

Never mind, i got full text part in the categories. All i needed to to is to pick static post page fro my posts. But question about featured images remains.
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #18 on: January 29, 2015, 08:14:04 AM »

This might work -

In the theme-globals.php file, find the following line:

Code:
$s5_loop_tags['thumbnail'] = '<img alt="%post_title%" style="position:relative;float:left;padding-right:10px;" src="%thumb_path%" />';

   Change it to:

Code:

if(!is_singular()){
$s5_loop_tags['thumbnail'] = '<img alt="%post_title%" style="position:relative;float:left;padding-right:10px;" src="%thumb_path%" class="PostThumbnailSmall"/>';
}else{
$s5_loop_tags['thumbnail'] = '<img alt="%post_title%" style="position:relative;float:left;padding-right:10px;" src="%thumb_path%" class="PostThumbnailLarge" />';
}

That by itself won't appear to do anything, but it will add a different CSS class to the image based on if it's an individual post/page or a list of posts.  All you'll have to do after that is add .PostThumbnailSmall{} and .PostThumbnailLarge{} to the bottom of style.css and add actual CSS to make it look the way you want.

If you don't know enough CSS to get it loking the way you want, I recommend checking out the Codecademy HTML and CSS course to learn the basics of how HTML and CSS work; it's free, and if you combine that with Firebug, you should be able to figure a lot of things out on your own.  Custom coding (including CSS) is not covered by support, so if you need additional help, I suggest checking out the Hire-a-Coder area and posting a help request.
« Last Edit: January 29, 2015, 08:17:31 AM by Tristan Rineer » Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
kkoryaka
Jr. Member
**
Offline Offline

Posts: 102



« Reply #19 on: January 29, 2015, 05:56:12 PM »

This is perfect, thank you!
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.