Textbox colour
jbriginshawphoto
Registered Users Posts: 34 Big grins
Hi there,
This forum was recommended to me by Smugmug support - I had no idea it existed!
I asked them if it was possible to change the colour of a textbox background. Here is my site (it is a work in progress) https://www.jbriginshawphotography.com/
If you scroll down a bit you will see "Capturing Memories for the playful, adventure-seeking, life-loving lovers". I want that whole textbox not to be white like the page colour, but a light grey that makes it stand out from the page. I heard someone here may have some tricks...
Which brings me to my next point - I am a total newb when it comes to coding, and I gather someone here may offer a solution with code. If the solution to my question involves code, I would love a link to an instructional on code with Smugmug and how to add what you are suggesting.
Really, really appreciated! Thank you.
This forum was recommended to me by Smugmug support - I had no idea it existed!
I asked them if it was possible to change the colour of a textbox background. Here is my site (it is a work in progress) https://www.jbriginshawphotography.com/
If you scroll down a bit you will see "Capturing Memories for the playful, adventure-seeking, life-loving lovers". I want that whole textbox not to be white like the page colour, but a light grey that makes it stand out from the page. I heard someone here may have some tricks...
Which brings me to my next point - I am a total newb when it comes to coding, and I gather someone here may offer a solution with code. If the solution to my question involves code, I would love a link to an instructional on code with Smugmug and how to add what you are suggesting.
Really, really appreciated! Thank you.
Tagged:
0
Comments
Not sure if this is what you're after:
This will involve code, no way around that. Add this to a CSS block in your home page:
I use
rem
but if you want to usepx
, go right ahead. Feel free to change thebackground-color
to suit. I also added awidth
because 100% just looked odd to me.Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
There isn't.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Not hard it all, but you'll have to use a HTML/CSS block in place of that image and the CSS I posted earlier. This is based on a tutorial I did here: https://gallery.imagesinthebackcountry.com/Smugmug-customization/Services-Page-with-Image-Description-and-More-Horizontal
Like I said, you'll need place ONE HTML/CSS Block and add this:
HTML
CSS
I've already added your photo, but feel free to change the photo and the width/height in the
<img>
section. I also addedpadding: 1rem
, but if you don't want "space with color" remove it. Same thing with theborder: 1px solid #e3e3e3;
. The text will change to the bottom when the screen size is smaller than 736px for mobile.Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk