How to change my online store template in dbdirector ecommerce platform
Tags: javascript,css,e-commerce,shopping-cart,online-store
Problem :
Does anyone know how the store template system works in dbdirector? I want to change the CSS of my homepage but I'm not sure where to find the main CSS file. I know there's a way to do it via the backend without FTP. I'm sure I'm just overlooking it.
Thanks!
Solution :
There is a clear explanation on the DBDirector website -> http://www.dbdirector.com/article/19/3/10/1/10/0/What_is_CSS_and_how_do_I_learn_CSS-
You can either add inline styling :
<p style="font-size: 12px">Lorem ispsum</p>
Add styling to the HTML page :
<style>
p {
font-size: 12px;
}
</style>
or create an external CSS file and include it in the <head>
of the page
<link href="MyStyleSheet.css" type="text/css" rel="stylesheet" />
CSS Howto..
If in Perl using WWW::Selenium then it's simply: my $val = $selenium->get_value("css=input[name='myInput']"); If using another language then the Selenium library should support a get_value function/method....
bundles.Add(new Bundle("Your desired Bundle directory name") .Include("Virtual Path of file1", "Virtual Path of file2" )); Try like this. The include function accepts an array of virtual paths as input argument....
Have you tried changing the <div class="button">Click</div> into <a class="button" href="#your_link">Click</a>? It should work as a normal link, and have the css buttons stylings and expected behavior....
It can easily be achieved with css. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> </head> <body> <style> .hidden { display: none; } tr:hover .hidden { display: block; } </style>...
One can't remove the call class with a standard jqGrid method. So you have to do this manually: var iCol = getColumnIndexByName(grid,"ColumnName"), tr = grid[0].rows.namedItem(rowid), // grid is defined as...
I would suggest to use CSS over jquery ( if possible) otherwise you can use something like this $("div.myclass").hover(function() { $(this).css("background-color","red") }); You can change your selector as per your...
It toggles the hidden class. If the className was 'hidden', it is now ''. If it was anything else, it is now 'hidden'.
You can put all your #m1...#m9 divs into .target and display them based on fragment identifier (hash) using :target pseudo-class. It doesn't move the contents between divs, but I think...
try this out...My Example
.fadeInTranslucent { animation-name: fadeInTranslucent; -webkit-animation-name: fadeInTranslucent; -moz-animation-name: fadeInTranslucent; animation-duration: 2s; -webkit-animation-duration: 2s; -moz-animation-duration: 2s; animation-iteration-count: 1; -webkit-animation-iteration-count: 1;...
You can just use input[type=radio] instead. $.fn.MP = function(options) { var settings = $.extend({ // These are the defaults text: "" }, options); $(this).on("click tap", "input", function() { $(this).parent().siblings().find("input").prop("checked", false);...
As I said in my comment above, I would avoid the zoom css property and stick to just javascript. I managed to throw together the following code which works pretty...
I think you need JavaScript for this, because you need to determine the distance between the bottom of header and the top of footer. You can use getBoundingClientRect() for that....
The CSS pseudo-class :hover is what you're looking for.
You could do it with two divs and psuedo elements :before and :after. Working code below .top-bar{ height: 100px; width: 100%; background-color: #55c3ff; } .curved-bottom{ width: 80%; margin: 0 auto;...
It is possible. Simplest way to do this is to add a class in homepage body element. <html> --- <body class="has-background-img"> --- --- </body> further, remove this class from other...
Add vertical-align: top; at .floating. Working JSFiddle...
To remove the corners set the data-corners="false" <select name="color" class="test" data-corners="false"> <option>pick a color</option> <option value="red">RED</option> <option value="blue">BLUE</option> </select> To hide the arrow, .ui-select .ui-icon { display:none; } To...
Looks like you need to clear the floats. Give this a try. <form action="#" method="get"> <textarea name="Reply Textarea" type="text" rows="2" cols="40" wrap="soft"></textarea> <input id="buttons" class="submit" type="submit" value="Submit" /> <input id="buttons"...
The attribute: <form autocomplete="off"> is, I think, what you're looking for....
I think you want to float the icon: .icon-small i { float: left; margin-right: 10px; /* ... */ } And for good measure: .icon-small + p { clear: left; /*...
Try changing your CSS line to the following: .men_tp { color: #d1d3d5; float: left; font-family: bebas_neueregular, Arial; font-size:22px; } (The line breaks have only been inserted to make it easier...
Here is a working example You can play with the parameters to get the effect you want. Be sure to include jQuery in your page too as in this fiddle:...
.bg-cover span{ z-index: 10; color: #333; } .fishing:hover .bg-cover span{ color: white; } and remove the inline color for the fishing text jsfiddle http://jsfiddle.net/Drea/vsnxbw0q/...
Remove floats and absolute postioning from your metabox style:: .mpact_plugin { width: 100%; } .mpact-container { width: 100%; } .mpact-left, .mpact-right { display: inline-block; } .mpact-left { margin-right: 2%; }...
This uses CSS3 so it will not work in IE8 or older but I think I've written something you can use. You can see a working demo here. (just expand...
By definition: The z-index property specifies the stack order of an element. An element with greater stack order is always in front of an element with a lower stack order....
Check this out. Fiddle: http://jsfiddle.net/tbj3hsmL/ HTML: <div class="footer"> <img src="http://placehold.it/25x25" /> <span class="text">Footer Text</span> </div> CSS: .footer { padding: 10px; background: #ddd; text-align: center; } .footer img { vertical-align: middle;...
Your main.css file would only have an effect on the content of the SVG if the SVG file is included inline in the HTML: https://developer.mozilla.org/en/docs/SVG_In_HTML_Introduction <html> <body> <svg version="1.1" id="Layer_1"...
Below is an example showing how to do this with webkit animations. You might also read this article for more background: http://webkit.org/blog/138/css-animation/ The rounded corners are just to show that...