As the title says.
How can I change the background color or style of the new content slider?
Collapse
X
-
How can I change the background color or style of the new content slider?
The reputation bar is hard coded. This is bad design.
http://tracker.vbulletin.com/browse/VBV-14349
Facebook 2 step registration doesn't work
http://tracker.vbulletin.com/browse/VBV-9490
Vbulletin android app does not work with VB5 and has no roadmap -- don't buy it! Demand better.
http://tracker.vbulletin.com/browse/...Aroadmap-panelTags: None -
The easiest way to do that is to only feature posts that have an attachment.
If you want to change the background image of the default image then my test site tells me it's at?
mysite.com/images/contentslider_default_background.png
So if you just replace the contentslider_default_background.png with a background image of your choice then that ought to change the background for you.-
That's exactly what I was looking for. Thanks! I'd like my mods featuring topics but can't trust them to edit and add a relevant pic every time. -
If you're lucky, one of the support team might post back and tell you where the bit of code is that points the widget at contentslider_default_background.png. So you might then be able to put another image in the images directory as mysite_contentslider_default_background.png. Otherwise, unless you put your own image back, every time you upgrade the upgrade will probably overwrite your new image. I don't know where this code sits but if it sits in a template somewhere you might be able to update it. Alternatively they might be able to give you a bit of extra code to stick in the widget itself. I can see that if you deploy the slider in site builder then hit the 'edit' (pencil) icon before saving the page there's an area where you can add code. It might be possible to add something here to point it at your own image but I wouldn't know what code is required.
-
-
The easiest way to do that is to only feature posts that have an attachment.
If you want to change the background image of the default image then my test site tells me it's at?
mysite.com/images/contentslider_default_background.png
So if you just replace the contentslider_default_background.png with a background image of your choice then that ought to change the background for you.Comment
-
Just had a look in the stylevars. Under 'images' I can see that there's a stylevar for slideshow_image_background with an empty box saying 'background image'. So I wouldn't know whether this is the stylevar that controls contentslider_default_background.png or not. Wayne Luke has put up a link to a complete list of the stylevars for vB5, but the boxes next to slideshow_image_background just say 'MISSING PHRASE'.
Just found another stylevar in Wayne's list which says module_contentslider_background.
OK: So if you go to the stylevars there's a new subsection...see post below.Last edited by jdj; Wed 4 Feb '15, 7:34am. -
That says one of the updated templates is the widget_contentslider template. So I'm guessing that somewhere in there is the code specifying the name of the background image. Must be possible to change it somewhere.
I can see in this template on line 60 there is a line of code saying
Quote: if condition = empty then style="background-image:url({vb:raw $imageUrl});
So if I've read that right that's the bit of code that specifies the background image and I'm guessing that 'style' refers to the css. Best guess then is that you can change the name of the background image using the additional.css template. Admins should be able to advise.Last edited by jdj; Wed 4 Feb '15, 7:21am.
-
-
Just found the bit of the stylevars you can use to change the background image for the content slider.
Go to the stylevars. There's a new section called Module ContentSlider. The stylevar saying module_contentslider_background has a box with a URL in it. So you can change the box saying 'background image' to the url with name of whatever you want your new image to be. All you then have to do is upload your new image to the same directory specified in the image path in this box.Comment
Related Topics
Collapse
-
by sylapHi,
Where can I upload an image for the body_background style variable? It currently points to images/css but I have no idea how to access this folder.
Thanks for the help,...-
Channel: vB Cloud Support & Troubleshooting.
-
-
by NintenexHi Vbulletin,
I wanted to know if theres a way i could change the white color of my page and add and image instead.I cant find an option in the Admin control that
offers that i might...-
Channel: vB Cloud Support & Troubleshooting.
-
-
by CraigI would love to have my site look/behave like http://sedona.vbulletin.net/. The background image stays put while page is scrolled. I also would like to make the area in front of it semi-transparent as...
-
Channel: vBulletin 5 Tutorials
-
-
by FinaticI am trying to add a repeating background image to my site via the style manager to replace the solid color background. I need help. I thought I could just direct link the image from Photobucket but no...
-
Channel: vB Cloud Support & Troubleshooting.
-
Comment