Im developing a site using Joomla, and one of the requirements of the site is that it uses the Phoca Gallery Component and Module. The problems with these is tthat they have a lot of inline CSS styles, which makes them hard to customize. I've solved this removing the style attributes with jQuery, but it doesn't seem like a very good solution.
What could I do to solve this problem?
This is the site: http://aufbauzwei.flavorgroup.eu/joomla15sunprotect/
just update to newest Phoca Gallery, there are used mostly external CSS.
The only way to do this is to do it properly and get your hands dirty. Change the inline styles and add classes to each html element which you can later style via CSS. It's simple enough but time consuming, but if you want to customise the look and avoid jQuery then this is the way forward.
Related
Just starting to use vuetify - really good stuff.
How can I wire up an HTML editor like quilljs.
I saw this post here; https://github.com/vuetifyjs/vuetify/issues/3550
Ideally.. I would like to use them both in codepen so I can get a designer to work on some bits and piece.
suggestions?
I created an editor for Vuetify based on Tiptap: https://github.com/iliyaZelenko/tiptap-vuetify
It is planned to make it as flexible as possible and develop many plugins for it.
You can support by giving a star to motivate me to develop.
I just have learned about vaadin and I'm watching tutorial about a CRUD TODO list in youtube. Vaadin uses Valo theme for css rendering that I found great but I'm wondering is it possible to use w3.css framework within vaadin vue code ?
I try googling but no answers.
It depends™
If you are asking: can is just replace Valo with W3.css the answer is most likely no, at least out of the box. The reason for this is, that Vaadin client side code emits the HTML-code you see in the browser and all style and class tags there are defined on their end. So what any theme for Vaadin must do, is to provide styling rules for that exact schema; so you would have to find a way to adapt. Or you have to put addStyleName all over your code (if it's btn in your CSS framework, it's v-button in Vaadin and also nested elements might be different etc).
Yet, if you just want to use the styles for some parts of your application (let's say, you want a fancy start page or add cards etc), then you can add the other CSS and use them together. Vaadin/Valo does a good job in isolating their styles from the rest of the page and also within their hierarchy (the theme name is a prefix to all Valo rules). Yet if the two themes then look great together is another story, but Valo itself allows for quite some tweaking just with variables put in SASS.
I am relatively new here but am looking forward to the support and knowledge i can gain here.
I have recently taken over a Joomla site that has a custom shopping cart which as far as i can tell is called dnaCatalog. I have tried to Google it but came up nothing but the actual dna workings of Joomla and other such things.
What i would like to achieve is to remove the image zoom from the product images in the shopping cart. I have searched the admin back-end through the plugins and modules but cant find any reference to any form of image zoom so I am guessing its hardcoded into the theme or catalog.
I currently have the site on a testing server here... http://geekdimm.com/ragland-current.
I have just updated it to the current version of Joomla 3.6.5
Your help would be greatly appreciated.
Many Thanks in advance.
The zoom function is coded as a JQuery add on, you will find it at templates/quasar/js/jquery.loupe.min.js. The optimal way to solve this is to find the calls to the script above and remove them (be careful what you remove, you should know what you doing when editing the core files).
Alternatively look for the class called loupe which are associated to your images, this gives your images the zoom functionality.
The easiest (but dirtiest) way to solve this is to go to your templates css file
templates/quasar/css/template.css and on line 7127 add the CSS display:none!important;
I've setup Octopress and want to use totally custom styling basically throwing out most of the standard styling that applies to the rest of the site.
I do want to keep reference to all responsive goodness though that is baked in.
What's the best way to setup my custom landing page?
You mean like this?
http://eduncan911.com
^- My Octopress site.
Blog is at: http://eduncan911.com/blog
Since Octopress uses Jekyll under the skin, it would be better to think about how to accomplish this in terms of Jekyll - and there are many ways to do this.
OT: Personally, I find Octopress' theme layout, includes and customs far too complex and too granular. They did this to make it highly customable; but in my view, it tightly couples every template to another template.
Now with that said, there are multiple ways to achieve this. I did answer a very similar question here:
Creating an octopress theme from a wordpress theme
It's Jekyll: therefore, just go create the page however you want it. Replace the /source/index.html with whatever design, html and css you want.
If you don't want the blog roll, or want to move the "blog to another directory", just move the current /source/index.html to, say, /source/blog/index.html. That's it.
As I noted in the answer above, the only import thing is to keep the YAML frontmatter and specify the "layout" as you want to use. For example, I have a layout called "homepage" that is far different than any other layout. My /source/index.html uses layout: homepage.
But even then, you don't even have to use the YAML - create your own raw html file as you see fit. It will be used when you rake generate. This is what I personally did at first. Then, I slowly split up the homepage into the /source/_layouts/homepage.html and just went from there. I did not follow Octopress' entire theme at all - just enough to use posts and pages.
I am working on an intranet project that is having the majority of its users move up to ie8 soon. A bug was detected where when attempting to create/edit a page, the rich html editor boxes would be squeezed compared to what they look like in any other browser.
I found the offending style, its inline and its:
style="display:inline-block"
Now if it was just "inline" then it would be fine. However, it is not.
I have attempted to override the PrefixStyleSheet attribute in the master page and have a custom style in the main css file, but it is not working at all.
I have heard that a control adapter might be helpful to post process the html but i am unsure on how to use one.
Is there any advice you guys can give me?
From my experience, using JQuery "hacks" in the master page header is the most convenient approach, without messing up the system css or the backend.
Find the element you want to override the style to a custom style, and assign your custom style. Be careful if the override is page layout specific, then might add to the page layout header placeholder instead.
http://api.jquery.com/css/
Hope it helps.