GithubHelp home page GithubHelp logo

Comments (10)

pmoreno-rodriguez avatar pmoreno-rodriguez commented on June 21, 2024

Could you send an online version, where can I see it?

from grav-theme-future2021.

pmoreno-rodriguez avatar pmoreno-rodriguez commented on June 21, 2024

I've just install a fresh Grav in my localhost folder, wit composer and I've installed the Future2021 with gpm. This is my future2021.yaml (previously I've copied it from theme folder to config/themes folder):

enabled: true
production-mode: false
enable_social: true
social:
  -
    name: Twitter
    url: 'https://www.twitter.com'
    icon: 'fa fa-twitter'
  -
    name: Facebook
    url: 'https://www.facebook.com'
    icon: 'fa fa-facebook'
  -
    name: Instagram
    url: 'https://www.instagram.com'
    icon: 'fa fa-instagram'

All works fine

future2021_footer

Have you cleared cache?

from grav-theme-future2021.

huteck avatar huteck commented on June 21, 2024

Hi, sorry I could not respond earlier unexpectedly.

I only tested it earlier locally with XAMPP so have now created a new grav with admin instance (fresh from Zip) online. Only installed future2021 theme via admin panel directly and added the social icon. Only visible as 16x16 hyperlink but without icon now.
As it is not a public facing folder yet, could you send me a way to ping you User/password valid for that verification period? Github seems not to allow private messages.

The future2021.yaml in the user/config/themes folder contains the following:
enable_social: true
social:

name: Instagram
url: 'https://www.instagram.com/.../'
icon: 'fa fa-user'

Or do I need to install/do anything else that the Fonts Awesome icons work? Are they locally or from Google API?

Thorben

from grav-theme-future2021.

pmoreno-rodriguez avatar pmoreno-rodriguez commented on June 21, 2024

Hello.
Having read your comment, I still don't understand what you want to achieve and what is the problem.

Could you indicate in two steps, 1, what you want to achieve and 2, what problem do you have for not achieving it?
Can you point me to an online site where I can see the error?

from grav-theme-future2021.

huteck avatar huteck commented on June 21, 2024

Sorry, I only was able to upload it to a webspace now. It's a fresh grav with admin installation + future2021 theme. I only added one social icon for showcase.
image

In the red arrow area, you will see that the curser changes and it highlights in the bottom left the URL, but the icon is not visible.

image

image

from grav-theme-future2021.

huteck avatar huteck commented on June 21, 2024

Forgot to mention, I installed the theme via the admin UI catalog. Not sure if there is a difference to the version you unser to replicate

from grav-theme-future2021.

huteck avatar huteck commented on June 21, 2024

Found now out a curiosity. I copied over your files from the demo folder to another installation. After saving (as enable_social is missing in the yaml file) it shows the icons properly. When I now click the "FontAwesome Icons" button and select a different one (e.g. fa fa-heart) it disappears. Could it be that there is an issue with getting the Icons on the page or the list has unsupported ones?

I confirmed this on above URL installation. Selecting "fa fa-facebook" shows the icon while the one next to it with "fa fa-star" is not shown.

from grav-theme-future2021.

pmoreno-rodriguez avatar pmoreno-rodriguez commented on June 21, 2024

I'll take a look. It seems a bug.

from grav-theme-future2021.

pmoreno-rodriguez avatar pmoreno-rodriguez commented on June 21, 2024

The social template filters icons by brand class.
(class="icon brands {{item.icon}}"). So, at the moment, you have to set these icons with a valid icon name from the Brands Category .

Icon picker button show all Font awesome icons, not only brands icons.

I'll fix this issue in the next version.

from grav-theme-future2021.

pmoreno-rodriguez avatar pmoreno-rodriguez commented on June 21, 2024

Solved in new version 1.0.6

from grav-theme-future2021.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.