Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Remove footer and customize template

More
4 years 2 months ago #193379 by teracomp
Replied by teracomp on topic Remove footer and customize template
Ah...now I see what you're working on. You're talking about the list of surveys page, not a particular survey. I missed that.

Here's the easiest way to fix that. Instead of deleting the themes.css rule, just add "display: none;" so you end up with:
Code:
#surveyListFooter {
    display: none;
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 80px;
    padding-top: 10px;
    margin-top: 10px;
 
    bottom: 0px;
    height: 60px;
}
@media (max-width: 768px){
    #surveyListFooter {
        display: none;
        padding-bottom: 40px;
        padding-top: 5px;
        margin-top: 5px;
        height: 40px;
    }
}

Technically, you can remove all of the rules and just have:
Code:
#surveyListFooter {
    display: none;
}

But you might want to visit this later.

See if that meets your needs.

Dave Phillips
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago #193380 by Joffm
Replied by Joffm on topic Remove footer and customize template

The site link goes to the old manual.

It does not.
This shows the difference of the new theme strucure that - as I said before - was changed after the 2.50/2.73 branch.
And as teracomp wrote, the old thread was about this - old - structure.

So I just delete it and the "powered by" will be gone?

Usual question: Did you try?
But, no: you only delete a css snippet that set the height and padding on a small device.

You have to look for this part in the twig file.
Hint: "Umfragenliste" / layout_survey_list.twig
Here you will find the text, logo, and layout of the footer.

While the new layout of LS is based on bootstrap 3.3.7, you may use this to adapt the twig files.
getbootstrap.com/docs/3.3/

Here a link to learn a bit about the twig engine:
twig.symfony.com/doc/3.x/

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: ymca
The topic has been locked.
More
4 years 2 months ago #193382 by teracomp
Replied by teracomp on topic Remove footer and customize template
Alternatively, as Joffm indicated, you can edit the twig file located on your server. In my case, I found the associated twig file at: {limesurvey}/themes/survey/vanilla/views/layout_survey_list.twig

Don't forget to make a backup copy. :)

Dave Phillips
The following user(s) said Thank You: ymca
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago - 4 years 2 months ago #193383 by tpartner
Replied by tpartner on topic Remove footer and customize template
Do not modify the core files in the /themes/ directory. Extend the theme and modify the twig files in the /upload/themes/survey/... directories as indicated in the documentation.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 4 years 2 months ago by tpartner.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago #193386 by Joffm
Replied by Joffm on topic Remove footer and customize template
ymca already mentioned that he had extended the bootswatch file.

There fore I didn't do that again.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago #193393 by tpartner
Replied by tpartner on topic Remove footer and customize template

ymca already mentioned that he had extended the bootswatch file.

There fore I didn't do that again.

I was referring to where @teracomp said he found a file to edit.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: ymca
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago #193407 by DenisChenu
Replied by DenisChenu on topic Remove footer and customize template

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: ymca
The topic has been locked.
More
4 years 2 months ago - 4 years 2 months ago #193409 by ymca
Replied by ymca on topic Remove footer and customize template
Thank you all for your help.
I have found this yesterday and been able to remove it in bootswatch so it will not show in the main/home page. :)

www.limesurvey.org/pt/f%C3%B3rum/install...ooter?start=0#172806


LS Version 4.2+
Last edit: 4 years 2 months ago by ymca.
The topic has been locked.
More
4 years 4 weeks ago #195925 by ymca
Replied by ymca on topic Remove footer and customize template
Strange, but now after changing theme and uploading my logos, only the top left logo doesn't want to change.
I've uploaded logo.png, clicked "Clear assets cache:" 3 times and nothing.
What am I missing? :(

LS Version 4.2+
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 4 weeks ago #195927 by Joffm
Replied by Joffm on topic Remove footer and customize template
Hi,
I'm tired of always guessing what you did.

after changing theme

You always write "I did something, but it doesn't work. What am I missing?"

Again you didn't show us what you changed in your theme.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: holch
The topic has been locked.
More
4 years 4 weeks ago - 4 years 4 weeks ago #195930 by ymca
Replied by ymca on topic Remove footer and customize template
I know I have problem explaining myself.

ymca wrote: Thank you all for your help.
I have found this yesterday and been able to remove it in bootswatch so it will not show in the main/home page. :)

www.limesurvey.org/pt/f%C3%B3rum/install...ooter?start=0#172806


I have fixed all my theme problems in that link.
Then I changed the theme to "bootswatch" to have a dark background (dark theme).
I think it was this one :
Code:
https://bootswatch.com/darkly/
But saw "bootswatch had visibility problems with "array" questions (text has almost same color in some lines).
So then I changed to vanilla but saw it didn't have the warning text when using anonymous survey.
So I've change it to fruity.
Uploaded all the logo files I had in the "bootswatch" theme, and it was fine except the top left that didn't want to change even after I clicked "Clear assets cache:" 3 times.

LS Version 4.2+
Last edit: 4 years 4 weeks ago by ymca.
The topic has been locked.
More
4 years 4 weeks ago #195935 by ymca
Replied by ymca on topic Remove footer and customize template
I think this is the place of the problem:
Code:
/tmp/assets/e82b9e67/logo.png

It doesn't matter if I delete the "assets" folder, it always stay the same number "e82b9e67" and the same original logo.

LS Version 4.2+
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose