Advertisement:

Author Topic: Responsive Curve  (Read 155741 times)

Offline petewadey

  • Jr. Member
  • **
  • Posts: 155
Re: Responsive Curve
« Reply #440 on: November 16, 2018, 08:10:25 AM »
Very hostile. I was only asking a question, not in any way doubting anyone's knowledge. I give up. 

Offline Virginiaz

  • Semi-Newbie
  • *
  • Posts: 57
Re: Responsive Curve
« Reply #441 on: November 16, 2018, 11:33:39 AM »
Very hostile. I was only asking a question, not in any way doubting anyone's knowledge. I give up.

I assume you mean SMFHack's Gallery Mod, in which case you should post your question to their support thread:

https://www.simplemachines.org/community/index.php?topic=114291.0

Indeed this isn't the right thread for this question.

Offline petewadey

  • Jr. Member
  • **
  • Posts: 155
Re: Responsive Curve
« Reply #442 on: November 16, 2018, 12:05:10 PM »
Very hostile. I was only asking a question, not in any way doubting anyone's knowledge. I give up.

I assume you mean SMFHack's Gallery Mod, in which case you should post your question to their support thread:

https://www.simplemachines.org/community/index.php?topic=114291.0

Indeed this isn't the right thread for this question.

I have done just that, and SMFHacks is looking into my issue. I have also been PM'd by someone who is willing to help. The hostile remark was towards Arantor. Totally unnecessary to be so rude. Everyone else has always been so helpful on this forum............

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,992
    • StoryBB/StoryBB on GitHub
Re: Responsive Curve
« Reply #443 on: November 16, 2018, 01:38:03 PM »
I consider people dismissing what I have to say out of hand because it disagrees with how they think things work to be pretty damn hostile, for the record.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Gwenwyfar

  • Great Wizard's familiar
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,251
  • Gender: Female
    • Gwenwyfar on GitHub
Re: Responsive Curve
« Reply #444 on: November 16, 2018, 02:26:28 PM »
I consider people dismissing what I have to say out of hand because it disagrees with how they think things work to be pretty damn hostile, for the record.
How is asking a question about something you don't understand a dismissal of anything? He didn't disagree with you and even thanked your answer despite how you wrote it...

Just because some people that come here here are rude, demanding and so on, doesn't mean everyone is.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,992
    • StoryBB/StoryBB on GitHub
Re: Responsive Curve
« Reply #445 on: November 16, 2018, 02:38:48 PM »
Because I said it was the gallery and the response was what amounts to “it can’t be because I installed this mod and then it broke therefore it is this mods fault”. Not all questions are meant with innocence and not all questions are in good faith, especially when a world view is being challenged.

But whatever, I’m clearly too hostile for his place. Being here just makes me angry and bitter.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Gwenwyfar

  • Great Wizard's familiar
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,251
  • Gender: Female
    • Gwenwyfar on GitHub
Re: Responsive Curve
« Reply #446 on: November 16, 2018, 03:08:43 PM »
No, they are not always in good faith. But neither do I see any post from this person being rude to anybody or anything to be worthy of that response.

Though, you could say I have a bias on the other side. Because I made someone angry frequently by merely forgetting to put a "yes" in front of questions I made.

"Assuming is a dangerous thing"...

Offline petewadey

  • Jr. Member
  • **
  • Posts: 155
Re: Responsive Curve
« Reply #447 on: November 16, 2018, 05:12:09 PM »
Thank you Gwenwyfar for recognising my words were not meant as Arantor chose to interpret them.

Offline Dylert

  • Jr. Member
  • **
  • Posts: 226
  • Gender: Male
    • Hellasforum
Re: Responsive Curve
« Reply #448 on: December 06, 2018, 06:26:07 AM »
Thanks a lot for this great responsive version of the Curve theme! I have installed it and there is one problem. My attachments (pictures) gets too wide for small screens like mobile phones. I have to scroll sidewards to see the whole image. Is it possible to set attachments to "max 100% of the screen" ex. in the index.css file or other files?

Any suggestions? Thanks a lot for any help! :)

Offline Gwenwyfar

  • Great Wizard's familiar
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,251
  • Gender: Female
    • Gwenwyfar on GitHub
Re: Responsive Curve
« Reply #449 on: December 06, 2018, 10:20:38 AM »
There is an update for this mod in the works that fixes the issue (among many others). Could take a while longer since we're focusing on 2.1.

Until then, you can add this to your css file:

Code: [Select]
.attachments img {
max-width: 100%; }
« Last Edit: December 06, 2018, 10:40:34 AM by Gwenwyfar »

Offline Dylert

  • Jr. Member
  • **
  • Posts: 226
  • Gender: Male
    • Hellasforum
Re: Responsive Curve
« Reply #450 on: December 06, 2018, 01:50:08 PM »
Well, got rid of the silly menu icons and have normal Curve menu buttons wrapping where they should be.  A little neater with submenus disabled.  Seems like an obvious solution, why wasn't it done this way?





How did you do this?

Offline Dylert

  • Jr. Member
  • **
  • Posts: 226
  • Gender: Male
    • Hellasforum
Re: Responsive Curve
« Reply #451 on: December 06, 2018, 05:24:36 PM »
There is an update for this mod in the works that fixes the issue (among many others). Could take a while longer since we're focusing on 2.1.

Until then, you can add this to your css file:

Code: [Select]
.attachments img {
max-width: 100%; }

Thanks a lot! That was kind of you! :) 

Offline EL34

  • Jr. Member
  • **
  • Posts: 290
Re: Responsive Curve
« Reply #452 on: February 15, 2019, 04:52:21 PM »
During the install of this mod, it searches to find the code below in index.template.php

Searched code

Code: [Select]
<a class="', $button['active_button'] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>



My template had this code under that line

Code: [Select]
<a class="', $button['active_button'] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>
<span class="', isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $button['title'], '</span>



I replaced the responsive code manually with the mod code replacement shown here

Code: [Select]
<a class="', $button['active_button'] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>
<span class="responsive_menu ', $act, '"></span>



Then I noticed that the template menu no longer displayed as shown in my screen shot
So I put the old code back for now and the template menu displays again

Why does the responsive code not print the template menu?
Thanks





Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.15

Offline EL34

  • Jr. Member
  • **
  • Posts: 290
Re: Responsive Curve
« Reply #453 on: February 15, 2019, 05:44:11 PM »
Duh, I figured out what I did wrong
I was supposed to replace that one line with two lines and leave the existing 3rd line
Nevermind  :-\
Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.15

Offline Gwenwyfar

  • Great Wizard's familiar
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,251
  • Gender: Female
    • Gwenwyfar on GitHub
Re: Responsive Curve
« Reply #454 on: February 16, 2019, 04:58:52 AM »
Duh, I figured out what I did wrong
I was supposed to replace that one line with two lines and leave the existing 3rd line
Nevermind  :-\
Happens. Glad you got it sorted :)

Offline EL34

  • Jr. Member
  • **
  • Posts: 290
Re: Responsive Curve
« Reply #455 on: February 16, 2019, 07:48:52 AM »
Happens. Glad you got it sorted :)

Got it all working
The forum shrinks down nicely now for small screens
And the main forum entry page passes mobile device test on google and Bing :)

I looked at it on my old Samsung galaxy 4 and it's way more friendly to that sort of device
Not that I use my phone for that
That is what desktops with multiple 23 inch monitors is for :P

I will fiddle with it some more
I need the postings text and some other text to be a bit larger
I am still getting - "Clickable elements are too close together"  for some of the links text

Thanks for the mod
Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.15

Offline EL34

  • Jr. Member
  • **
  • Posts: 290
Re: Responsive Curve
« Reply #456 on: February 17, 2019, 02:29:02 PM »
I would like to increase the text size in the boards

Overall the responsive mod looks good and passes Google and Bing mobile comparability test
but the text looks too small when I test the forum on my phone

I did a test where I changed the index.css file body code and increased the text size to medium
It looks pretty good on my desktop and my galaxy 4 phone set at medium

Is this the best place to do that?

Here's the before and after body code in the index.css file

before code

Code: [Select]
/* original body */
bodyX {
background: #787878;
font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif;
margin: 0 auto;
padding: 15px 0;
}

Changed code

Code: [Select]
/* Set a fontsize that will look the same in all browsers. */
body {
background: #787878;
font: medium Verdana, Arial, Helvetica, sans-serif;
margin: 0 auto;
padding: 15px 0;
}
Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.15

Offline njtweb

  • Sr. Member
  • ****
  • Posts: 827
Re: Responsive Curve
« Reply #457 on: March 27, 2019, 04:08:18 PM »
I would like to increase the text size in the boards

Overall the responsive mod looks good and passes Google and Bing mobile comparability test
but the text looks too small when I test the forum on my phone

I did a test where I changed the index.css file body code and increased the text size to medium
It looks pretty good on my desktop and my galaxy 4 phone set at medium

Is this the best place to do that?

Here's the before and after body code in the index.css file

before code

Code: [Select]
/* original body */
bodyX {
background: #787878;
font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif;
margin: 0 auto;
padding: 15px 0;
}

Changed code

Code: [Select]
/* Set a fontsize that will look the same in all browsers. */
body {
background: #787878;
font: medium Verdana, Arial, Helvetica, sans-serif;
margin: 0 auto;
padding: 15px 0;
}

Did it change webmaster tools strike for text too small on mobile to passing?

Offline EL34

  • Jr. Member
  • **
  • Posts: 290
Re: Responsive Curve
« Reply #458 on: March 27, 2019, 06:15:21 PM »
Did it change webmaster tools strike for text too small on mobile to passing?

Yes, the forum now passes all webmaster test on Google and Bing
They both say that it is mobile friendly now :)
Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.15

Offline njtweb

  • Sr. Member
  • ****
  • Posts: 827
Re: Responsive Curve
« Reply #459 on: March 27, 2019, 08:46:59 PM »
Interesting. I'm using default curve and vers 2.0.15 with responsive curve mod. My index.css file does not have any of this code.

Code: [Select]

/* original body */
bodyX {
background: #787878;
font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif;
margin: 0 auto;
padding: 15px 0;
}