Forum Replies Created
-
AuthorPosts
-
Hi Mike
I totally agree – I always put my code in here to help others, and look at as many posts as possible to find the answer before I bother you :)
I realised that I did have a slightly different js that didn’t work from another post but it was from a while ago, so yours is perfect! Thanks about the modal check box – it is actually checked but I like the js option on each page in case I need to target portfolio items in a different way, ie, not in a blank loader. Thank you! :)thank you – the code block js worked! I actually tried that before and it didn’t so perhaps I just had something stuck in my cache. So, to confirm, I can use one or the other option since the code block is working as is? Would unchecking the lightbox modal effect all other lightbox elements, eg, portfolio items? :)
Thanks, Mike but it’s still jumping and the text is not stacked vertically. I targeted just this page, so added in the code, below. I want it to appear like this –
STUDIO
1 BD
2 BD
2 BD + DEN
3 BDThanks again!
/* older plans page to stack titles */
.page-id-197 #av-tab-section-1 .av-inner-tab-title,
.page-id-197 #av-tab-section-1 .av-tab-section-icon,
.page-id-197 #av-tab-section-1 .av-tab-arrow-container,
.page-id-197 #av-tab-section-1 .av-tab-section-image {
width: 80px !important;
}.page-id-197 #av-tab-section-1 .av-tab-section-tab-title-container {
padding-left: 25px !important;
padding-right: 0px !important;
}.page-id-197 #av-tab-section-1 .av-section-tab-title {
font-size: 10px !important;
}Hello, again
I’ve now changed the titles to text from numbers so need a bit more help with mobile styling, please. I’ve removed the arrow and set the text to align left but when you click on a title all of the titles move around a bit horizontally. Can this be removed? It would actually be great to stack the titles instead of having them on two lines – I tried that but it kept disappearing – again, I assume it has to do with the clicks and the movement. Thanks!Perfect! Thanks so much :)
thank you! That worked nicely – I simply added in a page id to target a specific page as I’m using the hotspots on another page as well :)
Hi Vinay
That didn’t work because it didn’t target it but I looked around and figured it out. I wrapped my select in a div called select-container and then applied it to the div, et voila! Thank you! My code is here for others :)/* wrap each select in a div for the fontello icon arrow */
.select-container {
position: relative;
}/* use fontello icon for pulldown arrow *******************/
.select-container::before {
z-index:9999!important;
font-family: ‘entypo-fontello’;
content:’\e877′!important;
color: #000;
padding: 12px 8px;
position: absolute;
right: 0;
top: 0;
background: transparent !important;
text-align: center;
line-height: 12px; /* adjust vertical positioning */
width: 30px;
height: 100%;
pointer-events: none;
}Hello
Sorry for the long delay in a response!
Israel, the padding effects what is inside each 1/3 column, so that doesn’t resolve the request to make the space between each column – not what’s inside them – equal.
I actually came up with a really good solution that I would like to share, since it’s been bugging me for ages and I like to help others :)
1) Using a grid row, 3 equal columns, set it to have no borders, and give it an id – I used ‘location3up’.
2) Then add a custom class – I used ‘locThumbs’ for each of the 3 cells, and made sure that each cell has 0px padding, aligned top.
3) Then add an image (or whatever content you want) in each of the 3 columns.
Since each cell needs to have the same border or it will change size (see my other replies, above), I set the id to have a left margin of 10px, and then each of the 3 cells have the exact same right margin, also 10px.
You can then change the 10px to 50px or whatever, as long as they are the same for both the id and the class.
#location3up {
border-left: 10px solid #fff;
}/* this needs to be the same for each cell or the images will not be the same vertical height */
.locThumbs {
border-right: 10px solid #fff !important;
}That worked really well! I had made a color section and placed a logo inside but the key was to target the widget so if I need to edit it I don’t have to change very instance on every page . Some code, below, to help others :) Thanks, Vinay!
/* color section with unique id and widget inside */
#logoHeaderWide .widget {
margin: 0px 0px 0px 0px !important;
background-color: #000 !important;
}/* logo in widget */
.horizontalLogo {
width: 100% !important;
height: auto !important;
padding: 10px 0px 0px 0px !important;
}Yes. If you look at my page –
The area directly below the header with the tagline instead of a logo at left, and the menu, right, is what I need to tweak.
The horizontal 8888 Osler logo is an image in a custom widget that I’ve called horizontal header. I would like to –
1) make the background of just that one widget to be black
2) make the padding above and below the logo to be 20px.Right now it seems to be some kind of default widget padding.
Thanks again! :)
March 14, 2018 at 11:30 pm in reply to: Follow up to adjusting margins or padding in a widget. #926914Hi again
I noticed that this css –.template-page.content.av-content-full.alpha.units {
/* padding-top: 0px!important;
padding-bottom: 0px!important; */
}Was effecting all sections on the page so I need to target just the first one with the horizontal logo under the header, and I need to also make that widget background black, please. Thanks again!
I’m good, thank you, Jordan! :)
Ok, thanks, Nikko!
That worked perfectly, thanks, but I may have fewer or more sections on other pages – is there a way to target the after id using a section id?
For example, the section id above the widget is called ‘register’, so is there a way to target that as opposed to section 6?
Also, when I look at the source I can see the sections but no reference to it being section_6 until I see the new after_section_6 css – how do I know that it’s 6, please?
The image is blurry – here’s a direct link without using your img insert button –
http://dev.parkhomes.ca/images/widget.jpgMarch 2, 2018 at 8:10 pm in reply to: main menu placement is changing before and after scrolling #920519No, all is well – please close this thread :)
March 1, 2018 at 9:23 pm in reply to: main menu placement is changing before and after scrolling #919914Ismael, that works perfectly! Thank you so much :)))))))
It’s ok, I figured it out – it’s this, thanks! :)
.av-subheading_below p {
/* put styles here */
}No, I’d like it to be a different colour, size, letter spacing etc.
Ok, I wondered about that.
I still need to know how to target the text to style subheading for modern centered with my own css, please :)Ok, super! That worked nicely for the default special heading if you target the specific element, thank you!
Also, part two of my question was –
I’d also like the modern centered example to have the same text width only border as the default, plus how do I target the sub heading to style it, please?February 27, 2018 at 9:16 pm in reply to: main menu placement is changing before and after scrolling #918640Sorry, not sure why the images didn’t come through –
before scrolling –
http://azureatsouthgate.com/images/beforeScrolling.jpgafter scrolling –
http://azureatsouthgate.com/images/afterScrolling.jpgFebruary 27, 2018 at 9:15 pm in reply to: main menu placement is changing before and after scrolling #918639Sorry for the delayed reply. It’s still not working for me after clearing cache and looking on other browsers, etc.
Here’s a screenshot before scrolling, where you can see that the sub menu is in the correct place on hover but the top menu items seem to be pushed up under the secondary menu –
And here’s one after scrolling starts, where everything is in the proper place –
Hi Victoria
The First Row
Working – white spacing between all cols and screen border (see mock, 50px)
Not working – center col is narrower and not equal height to the other 2The Second Row
Working – all 3 cols are equal width and height
Not working – the spacing between the columns is not the same as the outer spacing from columns to screen border (see mock, 50px, then 100px, etc)Please ignore the fact that the content is different – it’s what will eventually be on the page. Here’s what I need –
Thanks, again!
Hi again
Sorry to be a pest – I know about those settings. The problem is on my page I want all three columns to be –
– equal width
– the same white space between left border, right border and columns, eg 50px –
50px – 1/3 col – 50px – 1/3 col – 50px – 1/3 col – 50pxIn the first row I adjusted the 2nd column to have 50px left and right and of course it made the column narrower and not as tall.
In the second row (the plans) they are default and equal height and width but as you see 100px between the middle col and the 1st and last.
Again, it seems that some css applied to the cols to adjust width and left-margin makes the most sense but I can’t get that to work.
Something like this –
#top .av_one_third.small-padding-columns{
margin-left: 1%;
width: 32%;
}From this post?
https://kriesi.at/support/topic/how-can-i-set-grid-layout-of-images-on-home-page/
Ok, thanks for clarifying. How do I create a row of 3 columns with some spacing between them, then, please? Eg 10 or 20px. Thanks again :)
Hi Victoria
Yes, that is clear, as suggested by Rikard, and without adjusting the margin-left as well it’s not addressing my issue. Again, referring to my page in the private area, I simply want to have a vertical space between the middle column and the first and last, eg 10px or 20px (currently in orange, just for testing), with all three columns equal in width AND height. The rows are set to have no margin, align top, equal height.
I f you look at the page’s center column, which has a class assigned to it called ‘.plan2’ it’s doing something to the height – in the first row there is what looks like a 20px white space at the bottom, and in the second row the button also looks about 20 px higher, even though the content is identical (see the following screenshots).
Row 1
Row 2
I looked at a lot of other posts and the resolution appears to be a combination of a width slightly less than 33.3% plus a width of 2% for the margin-left except for the first column. I tried that but it didn’t work, but does seem like the best option.
Thanks again; I hope we can resolve this soon :)
Hello, Rikard
That didn’t work either – if you look at the page it did indeed make the center 1/3 with the plan2 class less wide (now they are not even widths, so that’s not the right option, as they need to be equal widths), but there is now even more vertical spacing. I’ve changed the border to orange just to show where it sits. Based upon other posts (which I tried but couldn’t get to work), it should be something like margin-left: 2% for the 2nd and 3rd 1/3 col, and margin-left: 0px for the first, with slight adjustments to the col widths. Please advise. Thanks again!
/* not working */
.plan2 {
border-left: 10px solid #ff3300 !important;
border-right: 10px solid #ff3300 !important;
width: 30% !important;
} -
AuthorPosts