Skip to content
Grav 2.0 is officially stable. Read the announcement →

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Center a picture with Grav · 10 years ago

    Update: And if I put the image between <div>'s as suggested in another reply, it just shows the image path '(/images/picture.jpg)', instead of the actual image

  • Center a picture with Grav · 10 years ago

    I am learning to work with Grav and twig step by step. It's a great product, very clean and fast indeed! Obviously I have a learning curve but all in all it is great. One thing that is bothering me is

  • Center a picture with Grav · 11 years ago

    Thanks a lot, now it's working fine p.s. I had to restart the server to make it work, probably restarting apache would have worked too

  • Center a picture with Grav · 11 years ago

    Further check if the xml extension (sudo apt-get install php-xml) is installed, too.

  • Center a picture with Grav · 11 years ago

    @andreafa Sorry for the other post. I haven't seen your error reporting here. Your problem may come from a missing PHP module. You may try to check your php configuration (phpinfo), if the dom extensi

  • Center a picture with Grav · 11 years ago

    Hello, I've just tried it but I get an error: Class 'DOMDocument' not found …/­vendor/­erusev/­parsedown-extra/­ParsedownExtra.php:465

  • Center a picture with Grav · 11 years ago

    You may also want to try out markdown extra within a container: <div align="center"> <div markdown="1"> Some markdown syntax here and/or use images: </div> </div> Knowing thi

  • Center a picture with Grav · 11 years ago

    many thanks it worls

  • Center a picture with Grav · 11 years ago

    It's really a combination of CSS and markdown syntax. First ensure you have something like this in your CSS: .center { display: block; margin: 0 auto; } Then you just need to use that class for yo

  • Center a picture with Grav · 11 years ago

    Hi What is the best solution to center a picture in a article with grav I have tried -><- without success Do we have to use div tag with css ==> mix of html and markdown syntax