Jump to content


Photo
- - - - -

PostPins - How to change summary size - (ignore solved label, still open)

postpins summary customization css excerpt

This topic has been archived. This means that you cannot reply to this topic.
15 replies to this topic

#1 Denis Ciumbargi

Denis Ciumbargi

    Advanced Member

  • Members
  • 66 posts

Posted 10 October 2012 - 05:31 PM

Hi everyone, i am rebuilding my website from scratch and i would like to start using the PostPins section.

I managed to customize it pretty much, it a good plugin which allowed me that but i a cannot find the part of the code where i can change the number of words or the size of the summary / excerpt section to add more rows / words not just 3 as it comes by default. Photo attached.

Anyone knows how to do this?

Attached Files



#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts

Posted 10 October 2012 - 06:19 PM

It is best not to edit the section code (because these changes will be overwritten by section updates). You'll need to use the base theme in order to make non-destructive edits.

#3 Denis Ciumbargi

Denis Ciumbargi

    Advanced Member

  • Members
  • 66 posts

Posted 10 October 2012 - 06:25 PM

I am not editing the section code, i am using an External css file which i am importing in the main css of the theme :) The question remains open.

#4 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts

Posted 10 October 2012 - 07:47 PM

You would have to edit the section to change the excerpt length:

Please Login or Register to see this Hidden Content



#5 Denis Ciumbargi

Denis Ciumbargi

    Advanced Member

  • Members
  • 66 posts

Posted 10 October 2012 - 07:53 PM

You would have to edit the section to change the excerpt length:

Please Login or Register to see this Hidden Content


Thank you Simon.

Is this the only choice, to edit the section? No css code to be altered and imported not to affect the main code?

P.s. Dublin was great for me this year, that city rulz! :)

#6 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts

Posted 10 October 2012 - 07:55 PM

CSS wont affect the excerpt size unless you restrict the actual size of the area the excerpt goes in i suppose.

Yea Dub is great for a night out alright, did you go into Temple Bar?

#7 Denis Ciumbargi

Denis Ciumbargi

    Advanced Member

  • Members
  • 66 posts

Posted 10 October 2012 - 08:02 PM

CSS wont affect the excerpt size unless you restrict the actual size of the area the excerpt goes in i suppose.

Yea Dub is great for a night out alright, did you go into Temple Bar?


You think there is a way? The height code in the css i think is auto bsed on the line height and font size. I have to play with that but i am kind of newbie, maybe i looked at the wrong part of the code? Any help will be appreciated!

About Temple Bar, been there 3 times but alwas during day evening never late night, i will try that in 2 weeks when i will be in dublin for 6 weeks or so. If all my coding will go fine i'll offer a beer :)))

#8 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts

Posted 10 October 2012 - 08:04 PM

I was there few weeks ago, in the templebar hotel, lucky for me the room was above the nightclub, yea sleepless night there lol

Only thing i can suggest is you set a max-height for whatever the container the text is in, and force it to stay at one height.

#9 Denis Ciumbargi

Denis Ciumbargi

    Advanced Member

  • Members
  • 66 posts

Posted 10 October 2012 - 08:20 PM

Only thing i can suggest is you set a max-height for whatever the container the text is in, and force it to stay at one height.

The original css code for the classes .pin-excerpt and .summary that contains the text has this for max-height and min-height:
  • max-height: none;
  • max-width: none;
  • min-height: 0px
  • min-width: 0px;
I changed the values to some rondom values like 200 px for max-height and nothing happened, then for min-height and the space there it is now bigger but blank, still 3 rows of text only.

Photo attached.

#10 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts

Posted 10 October 2012 - 08:24 PM

well yea you increased the size, but its still 25 words. I thought you wanted it smaller?

#11 Denis Ciumbargi

Denis Ciumbargi

    Advanced Member

  • Members
  • 66 posts

Posted 10 October 2012 - 08:36 PM

I want more words. Double at least :(

#12 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts

Posted 10 October 2012 - 08:44 PM

Well, your only option then is to edit the section, as it is set to 25.

#13 Denis Ciumbargi

Denis Ciumbargi

    Advanced Member

  • Members
  • 66 posts

Posted 10 October 2012 - 08:50 PM

Well, your only option then is to edit the section, as it is set to 25.


Bad end for me then. Thank you Simon, i will leave this open for any other suggestions anyway. I am a dreamer...

WE shall go for that beer anyway :D

#14 Danny

Danny

    Is Awesome!

  • Moderators
  • 17015 posts

Posted 11 October 2012 - 08:40 AM

I have resolved this topic, as Simon has provided the code need to change the size.

The topic was marked as resolved.

#15 Denis Ciumbargi

Denis Ciumbargi

    Advanced Member

  • Members
  • 66 posts

Posted 11 October 2012 - 08:52 AM

I have resolved this topic, as Simon has provided the code need to change the size.

The topic was marked as resolved.


Well, i think that is for ME to decide not you RockStar! The thread stays open until more persons will contribute as you never know who had a better idea!

I know marketing rules makes you resolve stuff fast as it shows the team is professional or so but again, my problem can be solved in other ways so it stays OPEN with all the respect, also the one you should have for customers and respect their ways to feel contented or not!

#16 Danny

Danny

    Is Awesome!

  • Moderators
  • 17015 posts

Posted 11 October 2012 - 09:38 AM

Well, your only option then is to edit the section, as it is set to 25.


Simon, is one of our developers and if he says the above, then there isn't any other way to resolve your issue. Therefore, I have resolved the topic.