Jump to content

Ehren

Invision Community Team
  • Posts

    254
  • Joined

  • Last visited

  • Days Won

    22

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Ehren

  1. Hey Al,

    This is happening because you've added a table to your descriptions, which have fixed widths of 600px. If possible, I'd suggest removing the table from your description, and using plain text or a list instead.

    The image area at the top is designed to use a cover photo rather than a logo. I've fixed this on your site, but for anyone else with this issue, this code will stop the image from cropping oddly:

    .cSubscriptionsHeader{
    	background-size: contain;
    	background-color: transparent;
    	background-position: 0 50%;
    }

     

  2. 43 minutes ago, Demonland31 said:

    Appreciate that @Ehren. That worked too and was very helpful.

    Is there any way so to make it so that all quick searches throughout the forum default to Everywhere?

    Personally I find it easier and more helpful to have Everywhere and then either the drop down can narrow down or once the search results come through you narrow your parameters.

    You can add the code to the bottom of your globalTemplate theme file (or to the Footer HTML area if you're using "Simple Theme Editing").

  3. 1 hour ago, Demonland31 said:

    Hi Ehren,

    Appreciate the help.

    How do I assign the js file to the page via page settings? Where is the page settings?

    Cheers.

    If you don't want to use the plugin, you can create the JS file at: /admin/?app=cms&module=pages&controller=templates

    Click the JS tab and create your new file. Paste in the code from my earlier post, but remove the first and last lines (the script tags) since they're not required.

    Next, visit your Page list at /admin/?app=cms&module=pages&controller=pages and click Edit next to your page. Under the Page Includes tab, select the JS file which you just created. 🙂

  4. Hi @Demonland31

    There's no built in setting to control this but if you have access to the HTML of the page, add the following to the top of your existing code. If you used the page builder instead, you'll need to create a JS file and assign it to the page via the page settings.

    <script>
    	// Change default search filter 
    	document.querySelector(".cSearchFilter__menu [value='all']").checked = true;
    	document.querySelector('.cSearchFilter__text').innerText = document.querySelector('.cSearchFilter__menu input:checked + .cSearchFilter__menuText').innerHTML;
    </script>

     

  5. 11 hours ago, Gauravk said:

    Anyways to disable Ajax? As this behavior implies that our web server is slow, and gives a bad impression.

    Unfortunately not - the profiles are designed to be dynamic, and use ajax to pull in new data without refreshing the entire page. I don't believe there's a solution to change that - sorry!

  6. Hello,

    It seems as though the "jittery" issue you're referring to is simply the ajax content loading onto the page. I unfortunately have no further improvements for that part.

    The header height (on both desktops and mobiles) as well as the height of the logo can be edited via the theme settings, under the Custom tab. CSS changes aren't needed for that. 🙂

    If you do need to add css variables to custom.css for another reason, you just need to wrap them with :root{} like so:

    :root{
    	--primary-navigation--height: 52px;
    	--secondary-navigation--height: 50px;
    }

    I hope that helps!

  7. 1 hour ago, Gauravk said:

    We are running stock unaltered theme.

    Hello,

    The core > global > framework > _vars.css file has been modified in your theme. Reverting that file will fix your issue. 🙂

    If you need to modify your CSS, you should add your code to the custom.css file. Editing the core files is not recommended as it can cause issues like this.

  8. Hello,

    The "export theme feature" will only export files which are uploaded using the "Manage Resources" area of your theme. Any theme related resources (js files, images, etc) should be uploaded there.

    Screen Shot 2022-03-04 at 9.53.29 am.png

     

    If you've assigned forum icons using the "Community > Forums > Edit > Icon" setting, it would probably be easiest to simply reupload those icons on your live site. Those icons are not exported with the theme. I believe the only other method would be to export your database and files, and migrate them from localhost to your live server (but it seems like you'd prefer to do a fresh install, so this option isn't ideal in that case).

    I'm not sure if that helps to answer your question?

  9. 11 hours ago, dutchsnowden said:

    So I added this to the div:

    <div align="center" border=0 padding=0 margin=0 class='ipsResponsive_showDesktop ipsResponsive_showTablet ipsResponsive_block'>

    Should this not show on desktop?

    You can simplify that code to this:

    <div class="ipsResponsive_hidePhone ipsType_center">
      ** ad code **
    </div>

    That will center the ad on all screens, and will hide it on mobiles (anything smaller than 768px).

×
×
  • Create New...