[Archived] QuoteWerks Support Forum - New Forum: https://tickets.quotewerks.com/support/discussions
[Archived] QuoteWerks Support Forum - New Forum: https://tickets.quotewerks.com/support/discussions
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 QuoteValet
 QuoteValet Mobile
 Image Size for Item Selection
 Forum Locked
 Printer Friendly
Author Topic  

brendanb
QuoteWerks Aficionado

Australia
58 Posts

Posted - 01/19/2016 :  14:56:40  Show Profile
Hi,

I would like to edit the css which controls the image sizes on the product selection page. The default size is 48x48px, which is way too small.

I have tried overriding the customization.css but this file does not / is not able to override the css file.

Any ideas as to whether this can be done?



Regards

MattPrestige
QuoteWerks Genius

United Kingdom
531 Posts

Posted - 01/19/2016 :  16:36:27  Show Profile  Visit MattPrestige's Homepage
This can't be done, currently, using QV Mobile.
QV Web will hopefully have more flexibility on things like this.

QuoteWerks MVP for 7 years
Remote QuoteWerks consultancy for companies globally.

matt@prestigequoting.com
www.prestigequoting.com
Go to Top of Page

brendanb
QuoteWerks Aficionado

Australia
58 Posts

Posted - 01/20/2016 :  00:57:56  Show Profile
Hi Matt,

thanks for the response. Had to think outside the box, however I can use tampermonkey to modify the css of this page

for example the following basic script modifies the css to suit


// ==UserScript==
// @name         New Userscript
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://quotevalet.com/*
// @grant        none
// ==/UserScript==
/* jshint -W097 */
'use strict';

// Your code here...
//$(document).ready(function(){
//    alert("This script works!");
//});

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

addGlobalStyle('.imgPicture {width:auto !important; height:auto !important;}');

Go to Top of Page
  Topic  
 Forum Locked
 Printer Friendly
Jump To:
[Archived] QuoteWerks Support Forum - New Forum: https://tickets.quotewerks.com/support/discussions © Aspire Technologies, Inc Go To Top Of Page
Snitz Forums 2000